Clear Filters
Clear Filters

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

11 views (last 30 days)
I can do it manually by taking the peak points. Is there any other way?

Answers (2)

KSSV
KSSV on 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 on 13 Jun 2018
Edited: Jan on 13 Jun 2018

Categories

Find more on Historical Contests in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!