Normalize vector in 3D space
10 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I'm trying to normalize a vector in 3d space into a unit vector
0 件のコメント
回答 (2 件)
John D'Errico
2019 年 1 月 26 日
V = V./norm(V);
The default for norm is the 2-norm, so what you want.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!