Find the centroid of a polygon

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

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 2 月 8 日

0 投票

Ah, I knew I'd seen Roger post a routine for it, and I was right!

カテゴリ

ヘルプ センター および File ExchangeComputational Geometry についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by