Finding minimum value of array with certain property

Hello,
I have an array that I am using as the y values for a plot of mine. I want to identify the index where the y value first passes a certain value and the y value where it drops below a certain value. Is there a simple way I can do this? Essentially, I want to find the lowest index with a certain value and the index above which a certain value is never again reached.

 採用された回答

the cyclist
the cyclist 2018 年 7 月 16 日

0 投票

You can use the find command.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

製品

タグ

質問済み:

2018 年 7 月 16 日

回答済み:

2018 年 7 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by