Quaternions
Version 1.0.0 (15.7 KB) by
Aaron Becker
Quaternion class and demo of its applications. Quaternion matrix multiplication, spherical linear interpolation, and Euler angle I/O.
Quaternion class I made during a university course to help me understand quaternions and MATLAB better. Definitely not as fully-featured as the official MathWorks alternatives.
Try the included "doodle.m" & "randrot.m" functions for a demonstration of how quaternions can be used to generate complex-looking rotations and paths in 3D space with compact notation.
Documentation for the class is in several block comments at the top of the m-file.
Cite As
Aaron Becker (2024). Quaternions (https://www.mathworks.com/matlabcentral/fileexchange/109129-quaternions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
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.0.0 |