Main Content

quad2d

Numerically integratesfitobject

Syntax

Q = quad2d(FO, a, b, c, d)
[Q,ERRBND] = quad2d(...)
[Q,ERRBND] = QUAD2D(FO,a,b,c,d,PARAM1,VAL1,PARAM2,VAL2,...)

Description

Q = quad2d(FO, a, b, c, d)approximates the integral of the surface fit objectFOover the planar region a x b and c ( x ) y d ( x ) . The boundscanddcan each be a scalar, a function handle, or a curve fit (cfit) object.

[Q,ERRBND] = quad2d(...)also returns an approximate upper bound on the absolute error,ERRBND.

[Q,ERRBND] = QUAD2D(FO,a,b,c,d,PARAM1,VAL1,PARAM2,VAL2,...)performs the integration with specified values of optional parameters.

See the MATLAB®functionquad2dfor details of the upper bound and the optional parameters.

See Also

|||

Introduced in R2009b