Quaternion Function Reference

sqrtm

Matrix square root
(Quaternion overloading of standard MATLAB® function)

Syntax

Y = sqrtm(X)

Description

sqrtm(X) computes the matrix square root of a quaternion matrix. The algorithm used is based on calling the MATLAB® sqrtm function on an adjoint matrix, and is therefore not accurate for larger matrices. The accuracy may be checked by squaring the result using ^.

See Also

MATLAB® function: sqrtm
QTFM functions: adjoint, unadjoint

© 2008-2013 Stephen J. Sangwine and Nicolas Le Bihan

License terms.