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 of M samples followed by
T − M samples that are zero so that the overall period is T. The result should be a square
wave. You can learn some tricks from the triangular waveform function example in MATLAB
for DSP to write this function without loops. (This is not necessary for full credit.) Note
that this function is not exactly the same in terms of arguments or units. Include a listing
of your function. The function may not call a signal-generating function in the MATLAB
Signal Processing Toolbox.
1
Expert's answer
2019-08-28T06:02:59-0400
Dear Ping-Yen, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment