Find only the top peaks

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)

pks = findpeaks(data, 'MinPeakHeight', 3.5);

Asked:

on 9 Oct 2015

Answered:

on 9 Oct 2015

Community Treasure Hunt

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

Start Hunting!