Quaternion Function Reference

squeeze

Remove singleton dimensions
(Quaternion and octonion overloadings of standard MATLAB® function)

Syntax

Y = squeeze(X)

Description

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.

See Also

MATLAB® function: squeeze

© 2008-2022 Stephen J. Sangwine and Nicolas Le Bihan

License terms.