unit3DVectorizeByRo​w

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

Download
Download

You are now following this Submission

Cite As

Seth Wagenman (2026). unit3DVectorizeByRow (https://ch.mathworks.com/matlabcentral/fileexchange/78769-unit3dvectorizebyrow), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

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

Download
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.

Download
1.0.0

Download