Ahora está siguiendo esta publicación
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
This routine will allow a 3-D unit vector to be rotated around a 3-D axis defined by the user. This is performed by first rotating the unit vector around it's own cartesian axis (in this case we will rotate the vector around the z-axis, [0 0 1]) corresponding to each rotation angle specified by the user. This rotated vector is then transformed around the user defined axis of rotation.
To see a demonstration, simply run the following command in your MATLAB command prompt:
>> rotVecAroundArbAxis();
Citar como
Darin Koblick (2026). rotVecAroundArbAxis(unitVec2Rotate,rotationAxisUnitVec,theta) (https://es.mathworks.com/matlabcentral/fileexchange/49916-rotvecaroundarbaxis-unitvec2rotate-rotationaxisunitvec-theta), MATLAB Central File Exchange. Recuperado .
Agradecimientos
Inspirado por: Efficient Vector Rotation Matrix Routine
Categorías
Más información sobre Interactions, Camera Views, and Lighting en Help Center y MATLAB Answers.
Información general
- Versión 1.1.0.0 (12,1 KB)
Compatibilidad con la versión de MATLAB
- Compatible con cualquier versión
Compatibilidad con las plataformas
- Windows
- macOS
- Linux
