How to perform L2 normalization?
35 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sujeeth Kumaravel
am 4 Aug. 2014
Beantwortet: Roger Stafford
am 4 Aug. 2014
I have to perform L2 normalization on vectors. How do I do this in MATLAB?
0 Kommentare
Akzeptierte Antwort
Roger Stafford
am 4 Aug. 2014
If v is the vector do:
v = v/norm(v);
(The 'norm' function gives L2 norm as a default.)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Electrical Block Libraries finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!