C = max(A,[],dim)returns the largest elements of dimension A given by scalar dim. For example, it max(A,[],1)creates maximum values for the first size (rows) A.
, [C, I] = max(...) C (.. ) I.
, ? MATLAB , . .
m = [[1;6;2] [5;8;0] [9;3;5]]
max(m,[],2)