Can someone help me with enveloping the curve?

4 ビュー (過去 30 日間)
Neha Sinha
Neha Sinha 2018 年 6 月 11 日
コメント済み: Neha Sinha 2018 年 6 月 11 日
I need to get the result as attached. I have included the data required to plot the curve.

採用された回答

KSSV
KSSV 2018 年 6 月 11 日
Have a look on envelope.
S = importdata('data.txt') ;
data = S.data ;
t = data(:,1) ; y = data(:,2) ;
plot(t,y) ;
hold on
[up,lo] = envelope(y);
plot(t,up,'r')
Your data is in text file data.txt
  3 件のコメント
KSSV
KSSV 2018 年 6 月 11 日
Have a look on findpeaks
Neha Sinha
Neha Sinha 2018 年 6 月 11 日
Okay Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by