Remove singleton dimensions
(Quaternion and octonion overloadings of standard MATLAB® function)
Y = squeeze(X)
squeeze(X) removes singleton dimensions from a quaternion array. It is a straightforward overloading of the MATLAB® function of the same name implemented by a common mechanism for quaternion functions that can be computed by separate application of the MATLAB® function to each component of the quaternion array. A future cleanup may delete the quaternion/octonion overload and rely on the MATLAB® function, but test code would need to be added, which makes it a non-trivial fix.