Find only the top peaks

4 次查看(过去 30 天)
OliK
OliK 2015-10-9
回答: Thorsten 2015-10-9
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

回答(1 个)

Thorsten
Thorsten 2015-10-9
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!

Translated by