FUNCTION REFERENCE

dblquad

Double integral over a rectangle by nested quad.

Double integral over a rectangle by nested quad.

Syntax

q = dblquad(fun, xmin, xmax, ymin, ymax)

Syntax

q = dblquad(fun, xmin, xmax, ymin, ymax, tol)

fun(x, y) is called with a row x and a scalar y and must return a row the size of x. The default tolerance is 1e-6.

Example

dblquad(@(x, y) x .* y, 0, 1, 0, 2)   % 1.0000

Differences from MATLAB: Only the default method @quad is supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.