Check for 3D line plot to form a closed loop - randomly ordered points

Hi, I am using plot3 command to form a closed loop of points for a code. How can i determine automatically if the points form a closed loop without manually visualizing it. Attached is an example of the points which form the closed loop. I want to write a piece of code which can automatically determine if the points form a closed loop or not. The points are plotted in random order.

댓글 수: 1

Duplicate:
https://www.mathworks.com/matlabcentral/answers/321341-check-for-3d-line-plot-to-form-a-closed-loop

답변 (0개)

이 질문은 마감되었습니다.

질문:

2017년 1월 22일

마감:

2017년 1월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by