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
引用格式
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. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Aerospace and Defense > Aerospace Toolbox > Standard Workflow Procedures > Coordinate Systems > Quaternion Math >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!