MATLAB COMPILER RELEASE NOTES Uživatelská příručka Strana 178

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 716
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 715 716

Komentáře k této Příručce

Žádné komentáře