How Matlab calculate the centroid of a polyshape?

4 次查看(过去 30 天)
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?

采纳的回答

David Franco
David Franco 2020-4-28
  2 个评论
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 CenterFile Exchange 中查找有关 Elementary Polygons 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by