MATLAB Functions Help Desk

sqrt

Purpose

Square root

Syntax

Description

B = sqrt(A) returns the square root of each element of the array X. For the elements of X that are negative or complex, sqrt(X) produces complex results.

Remarks

See sqrtm for the matrix square root.

Examples

See Also

sqrtm       Matrix square root



[ Previous | Help Desk | Next ]