finding the index of a row with a maximum value
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Erik
le 2 Déc 2011
Commenté : Malik haseeb Haider
le 22 Août 2020
i am writing a program, and i need to find the row index of a maximum value. the column index is 1, and its a 15x15 matrix.
for i=Z(:,1); m=max(i);
now how do i find the row index of the maximum value?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!