How to perform L2 normalization?
25 ビュー (過去 30 日間)
古いコメントを表示
I have to perform L2 normalization on vectors. How do I do this in MATLAB?
0 件のコメント
採用された回答
Roger Stafford
2014 年 8 月 4 日
If v is the vector do:
v = v/norm(v);
(The 'norm' function gives L2 norm as a default.)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Electrical Block Libraries についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!