Matrix exponential
(Quaternion overloading of standard MATLAB® function)
Y = expm(X)
expm(X) computes the matrix exponential for a quaternion matrix. The algorithm used is based on calling the MATLAB® expm function on an adjoint matrix, and is therefore not accurate for larger matrices. The accuracy may be checked using the logm function.