Does findpeaks have a threshold option?
Afficher commentaires plus anciens
I have a plot with several maximums of differing heights. I want to find the values/locations of one of the middle peaks, which is neither the highest nor the shortest peak in the graph. Is there a way to use findpeaks to specify a certain height threshold? In other words, find peaks between heights y1 and y2?
Réponse acceptée
Plus de réponses (2)
Azzi Abdelmalek
le 7 Juil 2016
0 votes
Look at the help, you will find what you need http://www.mathworks.com/help/signal/ref/findpeaks.html
HUGO SILVA
le 3 Août 2017
0 votes
Excelent sugestion Star Strider. I was looking for a code like your, and I finded it, but it worked for some situation.
Catégories
En savoir plus sur Descriptive Statistics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
