Simple Quaternion and 3D Rotation function library
This simple library implements the quaternion algebra in Matlab using the isomorphism between quaternions and R^4.
It also implements the rotation matrices for many combinations of Euler angles and the Rodrigues' Formula and the quaternion version.
This library also contains a 3D Visualization tool.
Summarized description functions:
The sum and subtraction is normally performed by Matlab as R^4 vectors.
conjugate
division on the left
division on the right
exponential
inverse
absolute value
plot of coordinates in 3D
product
product with dot and cross commands
matrix isomorphism 1
matrix isomorphism 2
rotation
to string
Rx
Ry
Rz
Rxyz -- and others combinations of Euler Angles.
Time derivative of Rxyz
Rot Rodrigues
Citation pour cette source
fhz (2024). Simple Quaternion and 3D Rotation function library (https://www.mathworks.com/matlabcentral/fileexchange/71861-simple-quaternion-and-3d-rotation-function-library), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Aerospace and Defense > Aerospace Toolbox > Standard Workflow Procedures > Coordinate Systems > Quaternion Math >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
quaternios_library
rot_library
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.1 | Description update. |
||
1.0.0 |