Find the centroid of a polygon

8 views (last 30 days)
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

Accepted Answer

Dr. Seis
Dr. Seis on 8 Feb 2012

More Answers (1)

Walter Roberson
Walter Roberson on 8 Feb 2012
Ah, I knew I'd seen Roger post a routine for it, and I was right!

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!