how to find column index of max value for each row of a matrix 378x5 size?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Priscilla Schmitz
am 30 Mai 2019
Beantwortet: meghannmarie
am 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 Kommentar
Rik
am 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.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!