find local maxima of a signal

7 visualizaciones (últimos 30 días)
Jade Henrichon
Jade Henrichon el 31 de Mzo. de 2021
Respondida: Star Strider el 31 de Mzo. de 2021
Hi!
I need to find all maximas of a signal and their position. I did this code, but it only give me the absolute maxima of all the signal. How can I have all the maximas?

Respuestas (1)

Star Strider
Star Strider el 31 de Mzo. de 2021
Use the Signal Processing Toolbox findpeaks function (introduced in R2007b) or the MATLAB islocalmax function (introduced in R2017b).

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by