log

Syntax

log(X)

Arguments

X is a scalar/vector/matrix.

Details

Return the natural logarithm of X.

Examples

$ log(2.718283);
1
$ log(0 1 2 3);
[,0,0.693147,1.098612]