Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Numerically evaluate double integral — tiled method

`q = quad2d(fun,a,b,c,d)`

`q = quad2d(fun,a,b,c,d,Name,Value)`

`[q,E] = quad2d(___)`

specifies additional options with one or more `q`

= quad2d(`fun`

,`a,b`

,`c,d`

,`Name,Value`

)`Name,Value`

pair
arguments. For example, you can specify `'AbsTol'`

and
`'RelTol'`

to adjust the error thresholds that the algorithm
must satisfy.

[1] L.F. Shampine, "Matlab Program for Quadrature in 2D."
*Applied Mathematics and Computation.* Vol. 202, Issue 1, 2008,
pp. 266–274.