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!