필터 지우기
필터 지우기

Can someone help me with enveloping the curve?

조회 수: 1 (최근 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 CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by