How set minimum peak height (threshold of peak height)

76 vues (au cours des 30 derniers jours)
Kanakaiah Jakkula
Kanakaiah Jakkula le 30 Juil 2015
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.
  1 commentaire
Muthu Annamalai
Muthu Annamalai le 30 Juil 2015
Can you share a code snippet that we can improve upon?

Connectez-vous pour commenter.

Réponses (1)

Muthu Annamalai
Muthu Annamalai le 30 Juil 2015
Turns out in your case there is an option called MinPeakHeight in the findpeaks documentation.
Check this out, MinPeakHeight option

Catégories

En savoir plus sur Parametric Spectral Estimation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by