フィルターのクリア

select first standard answer equal or greater than obtained answer

1 回表示 (過去 30 日間)
Hamid
Hamid 2015 年 11 月 23 日
回答済み: Thorsten 2015 年 11 月 23 日
Hi everyones,
I explain my question with an example :
H=180 (is obtained from an equation)
standard I=[100 150 200 250]
I>=H
I want to select standard number for I which is equal or greater than H.
what should I do?
thanks.

採用された回答

Thorsten
Thorsten 2015 年 11 月 23 日
I(find(I>=H, 1, 'first'))

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by