how to find column index of max value for each row of a matrix 378x5 size?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Priscilla Schmitz
le 30 Mai 2019
Réponse apportée : meghannmarie
le 30 Mai 2019
hi
i have a matrix size 378x5, how do i find the index column of the maximum value of each row?
Thanks
1 commentaire
Rik
le 30 Mai 2019
(I'm on mobile so I can't check)
The second output of max can do this. You may need to use a loop.
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!