Get envelope of a cyclic curve

6 visualizaciones (últimos 30 días)
Nikesh Maharjan
Nikesh Maharjan el 11 de Dic. de 2022
Comentada: William Rose el 12 de En. de 2023
Dear All, I need to get an envelope of a cyclic curve as shown shown in the attach picture and excel file.
Thank you.
  4 comentarios
Nikesh Maharjan
Nikesh Maharjan el 12 de En. de 2023
William Rose Thank you very much. I really appreciate your help !!
William Rose
William Rose el 12 de En. de 2023
@Nikesh Maharjan, you're welcome. Good luck with your work.

Iniciar sesión para comentar.

Respuesta aceptada

William Rose
William Rose el 11 de Dic. de 2022
Use convhull() to find the smallest convex shape that wraps around the points.
See code below.
data=xlsread('envelope.xlsx');
points=data(:,4:5);
k=convhull(points);
plot(points(:,1),points(:,2),'b.',points(k,1),points(k,2),'-r*')
Good luck.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by