maximum number and indexing

1 回表示 (過去 30 日間)
asad jaffar
asad jaffar 2019 年 4 月 3 日
コメント済み: Jan 2019 年 4 月 5 日
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

回答 (1 件)

madhan ravi
madhan ravi 2019 年 4 月 3 日
  7 件のコメント
Walter Roberson
Walter Roberson 2019 年 4 月 3 日
Jan
Jan 2019 年 4 月 5 日
@asad: If madhan's answer solves your problem, be so kind to accept it.

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

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by