Does findpeaks have a threshold option?
Show older comments
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?
Accepted Answer
More Answers (2)
Azzi Abdelmalek
on 7 Jul 2016
0 votes
Look at the help, you will find what you need http://www.mathworks.com/help/signal/ref/findpeaks.html
HUGO SILVA
on 3 Aug 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.
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!