MATLAB COMPILER RELEASE NOTES Guida Utente Pagina 178

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 716
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 715 716

Commenti su questo manuale

Nessun commento