Finding max value from one dimensional matrix

1 回表示 (過去 30 日間)
HABILA
HABILA 2019 年 10 月 23 日
回答済み: David Hill 2019 年 10 月 23 日
I have a 1x10 matrx. I need a maximum value of the matrix leaving first four locations.
For example A=[2 3 6 1 8 0 2 4 5 6]
I need max from [8 0 2 4 5 6]

採用された回答

David Hill
David Hill 2019 年 10 月 23 日
max(A(5:end));

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by