Filter löschen
Filter löschen

what mean normr in matlab??

6 Ansichten (letzte 30 Tage)
mina
mina am 2 Mär. 2013
what mean normr in matlab??

Akzeptierte Antwort

Wayne King
Wayne King am 2 Mär. 2013
Bearbeitet: Wayne King am 2 Mär. 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 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 Matrix Indexing finden Sie in Help 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