sqrt

sqrt(X) returns the square root for each element in X.

Examples

> X = [4 -3; -2 1]#

	 4           -3
	-2            1

> sqrt(X)#

	2+0i            0+1.73205i
	0+1.41421i            1+0i

Resources

See also

realsqrt