How Matlab calculate the centroid of a polyshape?

6 ビュー (過去 30 日間)
David Franco
David Franco 2020 年 4 月 27 日
コメント済み: David Franco 2020 年 5 月 3 日
I am using the centroid command to find the centroids of polyshapes, but on the documentation I didn't find how Matlab calculates it... Somebody knows the formula used by Matlab centroid function?
  2 件のコメント
darova
darova 2020 年 4 月 28 日
look here
David Franco
David Franco 2020 年 4 月 28 日
Thank you darova!

サインインしてコメントする。

採用された回答

David Franco
David Franco 2020 年 4 月 28 日
  2 件のコメント
darova
darova 2020 年 4 月 28 日
David Franco
David Franco 2020 年 5 月 3 日
I found a old paper with the formula derivation:
John K. Hall. Algorithms and programs for the rapid computation of area and center of mass. Computers & Geosciences, Volume 1, Issue 3, 1976, Pages 203-205. https://doi.org/10.1016/0098-3004(76)90008-X.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Polygons についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by