Get envelope of a cyclic curve

4 次查看(过去 30 天)
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 个评论
Nikesh Maharjan
Nikesh Maharjan 2023-1-12
William Rose Thank you very much. I really appreciate your help !!
William Rose
William Rose 2023-1-12
@Nikesh Maharjan, you're welcome. Good luck with your work.

请先登录,再进行评论。

采纳的回答

William Rose
William Rose 2022-12-11
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by