unit3DVectorizeByRo​w

Make 3-D vector(s) have unit length via normalization.

現在この提出コンテンツをフォロー中です。

Given (matrix of row) 3-D non-zero vector(s), scale vector(s) to be of length 1.
Returns coordinates of scaled vector(s), after dividing by the norm(s).

引用

Seth Wagenman (2026). unit3DVectorizeByRow (https://jp.mathworks.com/matlabcentral/fileexchange/78769-unit3dvectorizebyrow), MATLAB Central File Exchange. に取得済み.

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.2.0

got rid of main for loop using idea at https://stackoverflow.com/a/13365644/12763497

1.1.0

Added argument to specify whether only passing a single vector vs. a matrix of row vectors; also explicitly specified that zero-length vectors are not allowed.

1.0.0