| Neural Network Toolbox | ![]() |
Normalize the rows of a matrix
Syntax
normr(M)
Description
normr(M) normalizes the columns of M to a length of 1.
Examples
m = [1 2; 3 4];
normr(m)
ans =
0.4472 0.8944
0.6000 0.8000
See Also
normc
| normprod | plotbr | ![]() |