Geometric Analysis of cross-seciton

1 view (last 30 days)
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 Comments
darova
darova on 23 Jul 2019
What have you done already? Do you have any ideas?
Devrim Tugberk
Devrim Tugberk on 25 Jul 2019
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).

Sign in to comment.

Accepted Answer

darova
darova on 25 Jul 2019
Simple formula of polygon centroid: WIKI
2Capture.PNG
  27 Comments
Devrim Tugberk
Devrim Tugberk on 29 Jul 2019
Edited: Devrim Tugberk on 29 Jul 2019
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 on 29 Jul 2019
1Untitled.png
Using interp option you have vector
What if just extend this vector (make it longer) ?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!