Find the centroid of a polygon
8 views (last 30 days)
Show older comments
I have an excel sheet which has the coordinates (x,y) plotted om each row. I am keen to get the centroid of the polygon, ehose edges are defined by these coordinates. The polygon is a 10-sided one. Any help would be much appreciated. Thanks
0 Comments
Accepted Answer
More Answers (1)
Walter Roberson
on 8 Feb 2012
Ah, I knew I'd seen Roger post a routine for it, and I was right!
0 Comments
See Also
Categories
Find more on Computational Geometry in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!