Display array
(Quaternion overloading of standard MATLAB® function)
display(X)
display(X) displays the value of the quaternion X preceded by its name. For a scalar argument, disp displays the value of the quaternion using char. Otherwise it outputs a concise summary of the quaternion, indicating the dimensions, whether the value is pure, and whether it has complex components. MATLAB® calls this function implicitly when a quaternion is to be displayed, as for example, after an assignment which has not been followed by a semi-colon.
To display the numeric values in a non-scalar quaternion array, use displayall or show.
>> A = randq(2) A = 2x2 quaternion array >> display(A) A = 2x2 quaternion array