how to find column index of max value for each row of a matrix 378x5 size?
조회 수: 4 (최근 30일)
이전 댓글 표시
hi
i have a matrix size 378x5, how do i find the index column of the maximum value of each row?
Thanks
댓글 수: 1
Rik
2019년 5월 30일
(I'm on mobile so I can't check)
The second output of max can do this. You may need to use a loop.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!