Geometric Analysis of cross-seciton

1 次查看(过去 30 天)
Dear Matlab Community,
I have a 3D scatter plot representing a cross-section of a vessel. My goal is to have a script that will: identify the center of this cross-section and generate lines from this centerpoint in a circular motion in increments of 1 degrees between each line (up to 360 degrees).
  4 个评论
darova
darova 2019-7-23
What have you done already? Do you have any ideas?
Devrim Tugberk
Devrim Tugberk 2019-7-25
I didn't achieve much yet. My communication with the program still is very limited. The only thing i achieved was to locate the centerpoint for each cross-section (without a script).

请先登录,再进行评论。

采纳的回答

darova
darova 2019-7-25
Simple formula of polygon centroid: WIKI
2Capture.PNG
  27 个评论
Devrim Tugberk
Devrim Tugberk 2019-7-29
编辑:Devrim Tugberk 2019-7-29
no problem!
So i need the coordinate data corresponding to the green dots (all of the points, not just the ones i drew) that i have drawn on the image. The green dot representing the intersection between the blue lines and the red lines.
Thank you
darova
darova 2019-7-29
1Untitled.png
Using interp option you have vector
What if just extend this vector (make it longer) ?

请先登录,再进行评论。

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by