MATLAB COMPILER RELEASE NOTES User's Guide Page 178

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 715 716

Comments to this Manuals

No comments