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

4 visualizzazioni (ultimi 30 giorni)
I can do it manually by taking the peak points. Is there any other way?

Risposte (2)

KSSV
KSSV il 13 Giu 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 il 13 Giu 2018
Modificato: Jan il 13 Giu 2018

Categorie

Scopri di più su Physics in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by