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
2012 年 2 月 8 日
0 投票
Ah, I knew I'd seen Roger post a routine for it, and I was right!
カテゴリ
ヘルプ センター および File Exchange で Computational Geometry についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!