what mean normr in matlab??
5 views (last 30 days)
Show older comments
what mean normr in matlab??
0 Comments
Accepted Answer
Wayne King
on 2 Mar 2013
Edited: Wayne King
on 2 Mar 2013
That is a function in the Neural Network Toolbox that normalizes the rows of the matrix to have l2 norm.
For example:
X = randn(10,4);
Y = normr(X);
Now if you check:
for kk = 1:size(Y,1)
norm(Y(kk,:),2)
end
They all have unit norm.
1 Comment
More Answers (0)
See Also
Categories
Find more on Quantum Mechanics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!