How set minimum peak height (threshold of peak height)

I have curve with multiple peaks, but I want to set minimum peak height (for example to consider peak only if the peak height >1) and get peaks location and peaks height. I used "findpeaks", but I can not be able to set the peak height threshold. Please kindly help me. Many thanks in advance.

Antworten (1)

Muthu Annamalai
Muthu Annamalai am 30 Jul. 2015

0 Stimmen

Turns out in your case there is an option called MinPeakHeight in the findpeaks documentation.
Check this out, MinPeakHeight option

Gefragt:

am 30 Jul. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by