how to find column index of max value for each row of a matrix 378x5 size?
16 ビュー (過去 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!