HELP:::::How To Find The CENTRAL Point

1 次查看(过去 30 天)
sese
sese 2012-9-2
Hello Guys
I have this question for you today, i really tried to solve it but i faced some problems to do so, my question is to find the central point for arbitrary shape, i have this shape and i hope you to help me to find the central point.

回答(1 个)

Image Analyst
Image Analyst 2012-9-2
编辑:Image Analyst 2012-9-2
Were you having some problem translating the wikipedia formula into MATLAB code: http://en.wikipedia.org/wiki/Centroid#Centroid_of_polygon? If so, post your MATLAB code and we'll help. You might split the polygon into triangles and use the law of cosines and law of sines to find the vertex coordinates:

类别

Help CenterFile Exchange 中查找有关 Elementary Polygons 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by