FUNCTION REFERENCE

sqrtm

Matrix square root.

Matrix square root.

Syntax

X = sqrtm(A)

Principal square root by Schur decomposition, X*X = A. The result is

complex when A has negative real eigenvalues.

Example

sqrtm([4 1; 0 9])   % [2 0.2; 0 3]

Differences from MATLAB: real and logical input only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.