find local maxima of a signal
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/568139/image.png)
0 Commenti
Risposte (1)
Star Strider
il 31 Mar 2021
Use the Signal Processing Toolbox findpeaks function (introduced in R2007b) or the MATLAB islocalmax function (introduced in R2017b).
0 Commenti
Vedere anche
Categorie
Scopri di più su Loops and Conditional Statements in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!