Azzera filtri
Azzera filtri

what mean normr in matlab??

6 visualizzazioni (ultimi 30 giorni)
mina
mina il 2 Mar 2013
what mean normr in matlab??

Risposta accettata

Wayne King
Wayne King il 2 Mar 2013
Modificato: Wayne King il 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 Commento
Greg Heath
Greg Heath il 2 Mar 2013
Before asking questions like this try
help normr
doc normr
type normr
Greg

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by