How do I integrate over an irregular area in MATLAB 7.9 (R2009b)?
4 次查看(过去 30 天)
显示 更早的评论
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.
采纳的回答
MathWorks Support Team
2010-8-26
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!