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

8 次查看(过去 30 天)
I can do it manually by taking the peak points. Is there any other way?

回答(2 个)

KSSV
KSSV 2018-6-13
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 2018-6-13
编辑:Jan 2018-6-13

类别

Help CenterFile Exchange 中查找有关 Historical Contests 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by