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?

채택된 답변

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 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