maximum number and indexing

2 Ansichten (letzte 30 Tage)
asad jaffar
asad jaffar am 3 Apr. 2019
Kommentiert: Jan am 5 Apr. 2019
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

Antworten (1)

madhan ravi
madhan ravi am 3 Apr. 2019
  7 Kommentare
Walter Roberson
Walter Roberson am 3 Apr. 2019
Jan
Jan am 5 Apr. 2019
@asad: If madhan's answer solves your problem, be so kind to accept it.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by