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

4 vues (au cours des 30 derniers jours)
Neha Sinha
Neha Sinha le 13 Juin 2018
Modifié(e) : Jan le 13 Juin 2018
I can do it manually by taking the peak points. Is there any other way?

Réponses (2)

KSSV
KSSV le 13 Juin 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 le 13 Juin 2018
Modifié(e) : Jan le 13 Juin 2018

Catégories

En savoir plus sur Physics dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by