maximum number and indexing
1 回表示 (過去 30 日間)
古いコメントを表示
how can i find maximun number from an array for example .a=[2,44,6,77,3,9],how can i find max 2 numbers which are ,44 and 77 from a single command ? and how to know there index .thanks
0 件のコメント
回答 (1 件)
madhan ravi
2019 年 4 月 3 日
maxk(a,2)
参考
カテゴリ
Help Center および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!