maximum number and indexing
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
madhan ravi
il 3 Apr 2019
maxk(a,2)
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!