<< power Log - exp - power sqrtm >>

Scilab Help >> Elementary Functions > Log - exp - power > sqrt

sqrt

square root

Syntax

y=sqrt(x)

Arguments

x

real or complex scalar or vector/matrix

Description

sqrt(x) is the vector/matrix of the square root of the x elements. Result is complex if element of x is negative.

Examples

A = matrix(4:4:16,2,2)
sqrt(A)
sqrt(-1)

See also


Report an issue
<< power Log - exp - power sqrtm >>