Cosine(Quaternion overloading of standard MATLAB® function)
Y = cos(X)
cos(X) computes the cosine of the quaternion argument X which may be a complexified quaternion.
>> cos(1 + qi) ans = 0.8337 - 0.9889 * I + 0 * J + 0 * K
License terms.