Quaternion toolbox for Matlab is a toolbox that extends Matlab to handle matrices of quaternions with real and complex components. Many Matlab operators and functions are overloaded to work for real quaternion and complexified quaternion matrices.
Versions of the toolbox up to 1.9 require MATLAB® Version 7.4 (R2007a) or later. Version 2 of the toolbox requires MATLAB® Version 7.14 (R2012a) or later.