An easy-to-use set of functions for quaternion calculus. Examples and demo
Updated 5 Mar 2012

View License

Easy implementation of quaternions with examples and demo
1) multiplication
2) inverse
3) rotating a point around given axis
4) conversion from quaternions to rotation matrix
5) conversion from rotation matrix to quaternion

Cite As

Przemyslaw Baranski (2024). Quaternions (https://www.mathworks.com/matlabcentral/fileexchange/35475-quaternions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: STL Lattice Generator

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes