function max matlab code example
Example 1: find location of max value in array matlab
maximum = max(max(A));
[x,y]=find(A==maximum)
Example 2: finding column wise maximum values in matlab
col_max = max(A)
maximum = max(max(A));
[x,y]=find(A==maximum)
col_max = max(A)