Find only the top peaks

5 views (last 30 days)
OliK
OliK on 9 Oct 2015
Answered: Thorsten on 9 Oct 2015
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

Answers (1)

Thorsten
Thorsten on 9 Oct 2015
pks = findpeaks(data, 'MinPeakHeight', 3.5);

Community Treasure Hunt

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

Start Hunting!