Subscripted reference
(Quaternion and octonion overloadings of standard MATLAB® function)
r = subsref(a, ss)
subsref is an overloading of a MATLAB® function that plays an essential role in subscripted references. See the documentation on the MATLAB® function for details, and the source code of the quaternion implementation.