How to find area enclosed by a closed curve?
23 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2020-2-14
回答: MathWorks Support Team
2020-3-30
I have a set of (x,y) coordinates that, when connected, create an ellipse-like shape on my plot. How can I find the area enclosed within my curve?
采纳的回答
MathWorks Support Team
2020-2-14
One option is to use the "polyarea" function,
where each point is interpreted as a vertex on a polygon. A straight line connects each point, but if you include enough points, your shape will begin to approximate a curve, and your area calculation will be more accurate.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Elementary Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!