How to find area enclosed by a closed curve?

62 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 14 Feb. 2020
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.

Weitere Antworten (0)

Kategorien

Mehr zu Computational Geometry finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by