How can I write a Matlab code on Digital Signals Processing ?
Show older comments
How can I write a MATLAB function (not a script!) to generate a periodic waveform of total length L. Each period must be a pulse of amplitude A that lasts a total ofM samples followed by T−M samples that are zero so that the overall period is T. The result should be a squarewave. Could you please help with this code, with a brief explaination of the code
2 Comments
Original question by Jone Erikson on 23rd August 2020 retrieved from Google Cache:
"How can I write a Matlab code on Digital Signals Processing ?"
How can I write a MATLAB function (not a script!) to generate a periodic waveform of total length L. Each period must be a pulse of amplitude A that lasts a total ofM samples followed by T−M samples that are zero so that the overall period is T. The result should be a squarewave. Could you please help with this code, with a brief explaination of the code
Rena Berman
on 12 Oct 2020
(Answers Dev) Restored edit
Accepted Answer
More Answers (0)
Categories
Find more on Waveform Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!