what mean normr in matlab??

 Akzeptierte Antwort

Wayne King
Wayne King am 2 Mär. 2013
Bearbeitet: Wayne King am 2 Mär. 2013

0 Stimmen

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 Kommentar

Greg Heath
Greg Heath am 2 Mär. 2013
Before asking questions like this try
help normr
doc normr
type normr
Greg

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by