Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
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();
Zitieren als
Darin Koblick (2026). rotVecAroundArbAxis(unitVec2Rotate,rotationAxisUnitVec,theta) (https://de.mathworks.com/matlabcentral/fileexchange/49916-rotvecaroundarbaxis-unitvec2rotate-rotationaxisunitvec-theta), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: Efficient Vector Rotation Matrix Routine
Kategorien
Mehr zu Interactions, Camera Views, and Lighting finden Sie in Help Center und MATLAB Answers
Allgemeine Informationen
- Version 1.1.0.0 (12,1 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.0.0 | Added graph of outputs
|
||
| 1.0.0.0 |
