what mean normr in matlab??
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
what mean normr in matlab??
0 commentaires
Réponse acceptée
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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrix Indexing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!