MATLAB: How to find column index of max value for each row of a matrix 378×5 size

index

hi
i have a matrix size 378×5, how do i find the index column of the maximum value of each row?
Thanks

Best Answer

[~,I] = max(A,[],2)
Related Question