sqrtm
Computes the matrix square root of a square matrix.
📝Syntax
res = sqrtm(x)
📥Input Arguments
Parameter Description
x a numeric value: scalar or square matrix (double or single)
📤Output Arguments
Parameter Description
res a numeric value: a square matrix
📄Description

expm(x) computes the matrix square root of x.

💡Examples
A = eye(3, 3);
res = sqrtm(A)
res = sqrtm(A+i)
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub