How to find area enclosed by a closed curve?
26 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 14 Fév 2020
Réponse apportée : MathWorks Support Team
le 30 Mar 2020
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?
Réponse acceptée
MathWorks Support Team
le 14 Fév 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Elementary Polygons dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!