How do I integrate over an irregular area in MATLAB 7.9 (R2009b)?
4 views (last 30 days)
Show older comments
The DBLQUAD function numerically evaluates double integral over a rectangle. I want a function that integrates over an irregular area e.g. within a contour line.
Accepted Answer
MathWorks Support Team
on 26 Aug 2010
The ability to integrate over an irregular area is not available in MATLAB 7.9 (R2009b).
To work around this issue, use the approach described in the Related Solution.
The idea is to use a rectangular region, but set the function value to zero outside of its domain.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!