suggestions on generating periodic decaying exponential signal

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

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

is this close to what you want?

clear;clc
t = -5:.1:100;
plot(t,fliplr(sawtooth(t)).*exp(-t./20))

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

More from Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.