MATLAB COMPILER RELEASE NOTES Guide de l'utilisateur Page 178

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 716
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 177
R2013a
5-18
Functionality being removed or changed
Functionality What Happens
When You
Use This
Functionality
Use This Instead Compatibility Considerations
quad Still runs integral Replace all instances of
quad with integral.
For example, replace q =
quad('x.*cos(x)',0,1)
with q =
integral(@(x)x.*cos(x),0,1).
If quad uses an absolute
error tolerance, tol,
replace all instances of
the tolerance argument
with the 'AbsTol' or
'RelTol' name-value pair
arguments.
For example, replace q
= quad(fun,a,b,tol)
with q = integral(fun,
a, b, 'AbsTol', tol,
'RelTol', tol).
quadl Still runs integral Replace all instances of
quadl with integral.
For example, replace q =
quadl('x.*cos(x)',0,1)
with q =
integral(@(x)x.*cos(x),0,1).
If quadl uses an absolute
error tolerance, tol,
replace all instances of
the tolerance argument
with the 'AbsTol' or
Vue de la page 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 715 716

Commentaires sur ces manuels

Pas de commentaire