Average of a each vertical section of a stepped sawtooth wave
2 visualizaciones (últimos 30 días)
Hello everyone. I need a help to find the average of each vertical steps in a stepped sawtooth wave. For clarity, I have attached the figure of sawtooth wave. Just to reiterate how can I find the average of each small vertical steps in the attached stepped sawtooth wave? Thank you for the help in advance.
Más respuestas (1)
Greg Dionne el 25 de Mzo. de 2021
If you have the Signal Processing Toolbox, FINDCHANGEPTS is worth a look (it will give you the indices of each step of which you can take the average later -- see https://www.mathworks.com/matlabcentral/answers/313651-additional-findchangepts-function-output?s_tid=srchtitle for an example on how to extract each mean).
Otherwise see if you can get ISCHANGE to work.