Get envelope of a cyclic curve

6 ビュー (過去 30 日間)
Nikesh Maharjan
Nikesh Maharjan 2022 年 12 月 11 日
コメント済み: William Rose 2023 年 1 月 12 日
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 Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by