FUNCTION REFERENCE

quadl

Numerically integrate with adaptive Gauss-Lobatto quadrature.

Numerically integrate with adaptive Gauss-Lobatto quadrature.

Syntax

q = quadl(fun, a, b)

Syntax

[q, fcnt] = quadl(fun, a, b, tol, trace, p1, p2, ...)

fun must accept a vector and return a vector of the same length. tol defaults to 1e-6; extra arguments are passed to fun.

Example

quadl(@(t) exp(t), 0, 1)   % 1.7183

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.