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 comentario

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

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 22 de En. de 2017

Cerrada:

el 22 de En. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by