Find the partial minimums in a set of values

1 回表示 (過去 30 日間)
marco mendez
marco mendez 2019 年 11 月 6 日
編集済み: marco mendez 2019 年 11 月 6 日
Hi everyone! I have the graphics i show you in the image and i would like to know the distance betwen the two minimum point in the middle of the graph. I mean betwen around 30 and 60. How could i find this points? I have thought I could aproximate to a polynomial function and find the minimums...
untitled.jpg

採用された回答

darova
darova 2019 年 11 月 6 日
  • Use findpeaks(-data)
  • Choose peaks that lie in 23 < x < 27 and 58 < x < 62
  3 件のコメント
Steven Lord
Steven Lord 2019 年 11 月 6 日
I'd probably use islocalmin instead of findpeaks on the negative of the data.
marco mendez
marco mendez 2019 年 11 月 6 日
編集済み: marco mendez 2019 年 11 月 6 日
much better, thanks Steven! Although I solved it using -data...

サインインしてコメントする。

その他の回答 (0 件)

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by