How to perform L2 normalization?
24 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sujeeth Kumaravel
le 4 Août 2014
Réponse apportée : Roger Stafford
le 4 Août 2014
I have to perform L2 normalization on vectors. How do I do this in MATLAB?
0 commentaires
Réponse acceptée
Roger Stafford
le 4 Août 2014
If v is the vector do:
v = v/norm(v);
(The 'norm' function gives L2 norm as a default.)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Electrical Block Libraries 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!