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
Comments to this Manuals