Filter löschen
Filter löschen

find local maxima of a signal

8 Ansichten (letzte 30 Tage)
Jade Henrichon
Jade Henrichon am 31 Mär. 2021
Beantwortet: Star Strider am 31 Mär. 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?

Antworten (1)

Star Strider
Star Strider am 31 Mär. 2021
Use the Signal Processing Toolbox findpeaks function (introduced in R2007b) or the MATLAB islocalmax function (introduced in R2017b).

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by