FUNCTION REFERENCE
quadv
Vectorized adaptive Simpson quadrature of an array-valued function.
Vectorized adaptive Simpson quadrature of an array-valued function.
Syntax
Q = quadv(fun, a, b)Syntax
[Q, fcnt] = quadv(fun, a, b, tol, trace, p1, p2, ...)fun is called with one scalar at a time and may return an array of any fixed size.
Example
quadv(@(t) [t t.^2], 0, 1) % [0.5000 0.3333]Differences from MATLAB: The trace argument is ignored. Complex integrands are not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.