quaternion
quaternion.m is a matlab class that implements quaternion mathematical operations, 3 dimensional rotations, transformations of rotations among several representations, and numerical propagation of Euler’s equations for rotational motion. All quaternion.m class methods except PropagateEulerEq are fully vectorized.
Cite As
Mark Tincknell (2024). quaternion (https://www.mathworks.com/matlabcentral/fileexchange/33341-quaternion), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Robotics and Autonomous Systems > Robotics System Toolbox > Coordinate Transformations >
- Aerospace and Defense > Aerospace Toolbox > Standard Workflow Procedures > Coordinate Systems > Quaternion Math >
Tags
Acknowledgements
Inspired by: Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.8.0.0 | Fixed bug noted by Nathan Pust (thank you!) in rotationmatrix, updated RotationMatix, updated OmegaAxis, fixed bug in equiv. |
||
1.7.0.0 | Changes: revised error messages, corrected repmat syntax
|
||
1.6.0.0 | Added missing unitvector function for OmegaAxis method |
||
1.5.0.0 | change normalize, rand; fix isequal*, rotateutov; add dot, interp1, randRot |
||
1.3.0.0 | added quaternion.OmegaAxis to get angular velocity vectors from time series of quaternions |
||
1.2.0.0 | A few new methods and small bug fixes |
||
1.1.0.0 | fixed bugs, added some new methods |
||
1.0.0.0 |