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

4 visualizaciones (últimos 30 días)
Neha Sinha
Neha Sinha el 13 de Jun. de 2018
Editada: Jan el 13 de Jun. de 2018
I can do it manually by taking the peak points. Is there any other way?

Respuestas (2)

KSSV
KSSV el 13 de Jun. de 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 el 13 de Jun. de 2018
Editada: Jan el 13 de Jun. de 2018

Categorías

Más información sobre Physics en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by