필터 지우기
필터 지우기

Create unit vector for every vector in 3d array

조회 수: 9 (최근 30일)
Dominick
Dominick 2023년 3월 24일
답변: Matt J 2023년 3월 24일
I have 3x1x541 array, and I would like to turn each 3x1 in the array into a unit vector. What would be the quickest way to do this?

채택된 답변

Matt J
Matt J 2023년 3월 24일
normalize(yourArray,1,'n')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by