# I want to envelope the damped curve with an exponential function passing through the peak points. Can someone help?

조회 수: 19 (최근 30일)
Neha Sinha 2018년 6월 21일
댓글: Neha Sinha 2018년 7월 2일
X = A1*(exp(-alpha*t)).*cos(wd*t)+ A2*(exp(-alpha*t)).*sin(wd*t) is the equation of the damped curve with parameters as t=0:0.000050:0.1; A1 = 12.87701558; A2 = -12.70012814; alpha = 67.91641; wd = 4770.680551
The equation of the enveloping curve is I = Io * exp(-67.91641*t) where Io is the peak values of the damped curve
I am attaching the image of damped curve as well as its enveloping curve through peak points.

댓글을 달려면 로그인하십시오.

### 채택된 답변

Prajit T R 2018년 6월 29일
Hi Neha
You can use the function 'envelop' to obtain the envelope of the curve. I am attaching the code below:
plot(t,damped_curve);
up = envelope(damped_curve);
hold on;
plot(t,up);
hold off;
The documentation link for the function is here: https://www.mathworks.com/help/signal/ref/envelope.html
Prajit
##### 댓글 수: 1이전 댓글 -1개 표시이전 댓글 -1개 숨기기
Neha Sinha 2018년 7월 2일
Thank you

댓글을 달려면 로그인하십시오.

### 카테고리

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