답변 (2개)

Matt J
Matt J 2019년 1월 25일
편집: Matt J 2019년 1월 25일

0 개 추천

X= v./sqrt( sum(v.^2,2) );
John D'Errico
John D'Errico 2019년 1월 26일

0 개 추천

V = V./norm(V);
The default for norm is the 2-norm, so what you want.

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

질문:

2019년 1월 25일

답변:

2019년 1월 26일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by