Scilab 6.0.0

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

See the recommended documentation of this function

# log

natural logarithm

### Syntax

y=log(x)

### Arguments

- x
constant vector or constant matrix

### Description

`log(x)`

is the "element-wise" logarithm
`y(i,j)=log(x(i,j))`

. For matrix logarithm see
logm.

### Examples

exp(log([1,%i,-1,-%i]))

## Comments

Add a comment:Please login to comment this page.