Effacer les filtres
Effacer les filtres

what mean normr in matlab??

6 vues (au cours des 30 derniers jours)
mina
mina le 2 Mar 2013
what mean normr in matlab??

Réponse acceptée

Wayne King
Wayne King le 2 Mar 2013
Modifié(e) : Wayne King le 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 commentaire
Greg Heath
Greg Heath le 2 Mar 2013
Before asking questions like this try
help normr
doc normr
type normr
Greg

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by