suggestions on generating periodic decaying exponential signal
Mostrar comentarios más antiguos
Hi, i am trying to generate a periodic decaying exponential signal in the time interval between -5 and 100 . I am trying to visualize it like a sawtooth waveform (but reversed and having gradual decay). can someone help me with this
t=-5:t_step:100;
bt_new=0;
L=0.018;
t_step=0.1221;
N= L/t_step;
for l=0:2.0930e-03:N
bt = exp(-0.24*((t-(l.*ones(size(t))*t_step))));
bt_new =bt_new+bt;
end
plot (t,bt_new);
I am trying to generate a periodic decaying exponential, any ideas
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Descriptive Statistics en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!