MATLAB: How to code to normalize a matrix by dividing each index by the max abs value in the row

normal

A = input('Enter matrix for normalization:'); [x,y] = size(A);
z=abs(C); m=0; n=0;
for i=1:x
end
disp(n)

Best Answer

A=[2 7;8 10]
out=A/max(abs(A(:)))
Related Question