Is polyarea command related to fill comand?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Rafi
le 16 Oct 2014
Réponse apportée : Sean de Wolski
le 16 Oct 2014
In the attachment you can find a plot of the data I want to analyze. I used the fill command to color the polygon, which works quite nicely. I want to find the area of colored filling. Does the polyarea command exactly calculate the specified area? Or are there better approximations?

0 commentaires
Réponse acceptée
Sean de Wolski
le 16 Oct 2014
Polyarea will calculate the area of the polygon from the vertices. Fill is probably doing a little bit more interpolation, but the areas should match each other closely.
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!