unit3DVectorizeByRo​w

Make 3-D vector(s) have unit length via normalization.
24 download
Aggiornato 5 ago 2020

Visualizza la licenza

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

Cita come

Seth Wagenman (2024). unit3DVectorizeByRow (https://www.mathworks.com/matlabcentral/fileexchange/78769-unit3dvectorizebyrow), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2019b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
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