FUNCTION REFERENCE
triplequad
Triple integral over a box by nested quad.
Triple integral over a box by nested quad.
Syntax
q = triplequad(fun, xmin, xmax, ymin, ymax, zmin, zmax)Syntax
q = triplequad(fun, xmin, xmax, ymin, ymax, zmin, zmax, tol)fun(x, y, z) is called with a row x and scalars y and z and must return a row the size of x. The default tolerance is 1e-6.
Example
triplequad(@(x, y, z) x .* y .* z, 0, 1, 0, 1, 0, 1) % 0.1250Differences 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.