Skip to Main Content Skip to Search
Product Documentation

quad2d - Numerically integrate sfit object

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 object FO over the planar region and . The bounds c and d can 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 function quad2d for details of the upper bound and the optional parameters.

See Also

cfit | fit | quad2d | sfit

  


 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS