Create character array (string).
(Quaternion and octonion overloadings of standard MATLAB® function)
str = char(q)
char(q) returns a character string representation of the quaternion q, which must be a scalar.
>> char(randq) ans = 0.4373 - 0.8167 * I - 0.1902 * J + 0.3251 * K