integration of an expression by quadrature
y = integrate(expr, v, x0, x1) y = integrate(expr, v, x0, x1, atol) y = integrate(expr, v, x0, x1, atol, rtol)
x1(i).
y = integrate(expr, v, x0, x1 [,atol [,rtol]]) computes
for i=1:size(x1,'*'), where f(v)
is given by the expression expr.
The evaluation hopefully satisfies following claim for accuracy:
abs(I - y) <= max(atol, rtol*abs(I)) where
I stands for the exact value of the integral.
![]() | Restriction: The given expression must not use variable names with a leading
%. |
| Version | Description |
| 6.1.0 | Default atol value increased from 10-14 to 10-13. |