suggestions on generating periodic decaying exponential signal

K
Khairunnisa · Mar 9, 2021 · 1.8K views
Question
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
Expert Answer
Profile picture of Prashant Kumar
Prashant Kumar PhD Expert
Answered Aug 11, 2026
is this close to what you want?
 
 
clear;clc
t = -5:.1:100;
plot(t,fliplr(sawtooth(t)).*exp(-t./20))
100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!