How can i draw an exponential curve for a damped sine wave?

6 Ansichten (letzte 30 Tage)
Neha Sinha
Neha Sinha am 13 Jun. 2018
Bearbeitet: Jan am 13 Jun. 2018
I can do it manually by taking the peak points. Is there any other way?

Antworten (2)

KSSV
KSSV am 13 Jun. 2018
A=10;
f=1000;
n=5;
T=1/f;
t=[0:T/100:n*T];
s=A*exp(-t*1000).*sin(2*pi*f*t);
plot(t,s)

Jan
Jan am 13 Jun. 2018
Bearbeitet: Jan am 13 Jun. 2018

Kategorien

Mehr zu Physics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by