Find only the top peaks
Afficher commentaires plus anciens
I have an array in which I wish to find the value of the top most peaks. Using findpeaks finds ALL of the peaks, there is alot of noise in the data which produces over 5000 peaks. Even if I remove the low freq noise there is still noise in the top most peaks. I only want the top '36 peak' values:

Thanks
Réponses (1)
Thorsten
le 9 Oct 2015
pks = findpeaks(data, 'MinPeakHeight', 3.5);
Catégories
En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!