How to perform L2 normalization?
20 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Sujeeth Kumaravel
il 4 Ago 2014
Risposto: Roger Stafford
il 4 Ago 2014
I have to perform L2 normalization on vectors. How do I do this in MATLAB?
0 Commenti
Risposta accettata
Roger Stafford
il 4 Ago 2014
If v is the vector do:
v = v/norm(v);
(The 'norm' function gives L2 norm as a default.)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Electrical Block Libraries in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!