how to find local minima of a graph like shown in the figure?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hello Everyone,
I am trying to find local minima (to get x and y values) as circled in the figure..Any suggestion please as how to find the local minima (or x and y values for the lowest valley)? I tried to use findpeaks by inverting the plot but it gave me more number of points. Thank you!

댓글 수: 0
채택된 답변
Star Strider
2019년 5월 9일
Your are correct in using findpeaks with your inverted (negated) signal to find the minima. There are a number of name-value pair arguments (such as 'MinPeakHeight' and 'MinPeakProminence') that can help in sorting your peaks.
댓글 수: 7
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
