Scilab 6.0.0

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.

See the recommended documentation of this function

# 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)

## Comments

Add a comment:Please login to comment this page.