unit3DVectorizeByRow
Versión 1.2.0 (1,76 KB) por
Seth Wagenman
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).
Citar como
Seth Wagenman (2026). unit3DVectorizeByRow (https://es.mathworks.com/matlabcentral/fileexchange/78769-unit3dvectorizebyrow), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2019b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 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 |
