2>Syntax</h2><p><tt>X = logm(Y)</tt></p>
<h2>Description</h2>
<p>
<tt>logm(X)</tt> computes the matrix logarithm of a quaternion matrix.
The algorithm used is based on calling the MATLAB&reg; <tt>logm</tt> function
on an adjoint matrix, and is therefore not accurate for larger matrices.
It may also fail for some quaternion matrices.
The accuracy may be checked using the <tt>expm</tt> function.
</p>

<h2>See Also</h2>MATLAB&reg; function: <a href="matlab:doc logm">logm</a><br>QTFM functions: <a href="expm.ht