Divide the matrix by it's largest absolute value. For example, take the matrix:
A = 200*(.5-rand(3))
Now normalise it:
A = A/max(max(abs(A)))
Divide the matrix by it's largest absolute value. For example, take the matrix:
A = 200*(.5-rand(3))
Now normalise it:
A = A/max(max(abs(A)))
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!