Quaternions

An easy-to-use set of functions for quaternion calculus. Examples and demo

You are now following this Submission

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 (2026). Quaternions (https://se.mathworks.com/matlabcentral/fileexchange/35475-quaternions), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: STL Lattice Generator

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0