log

natural logarithm

Calling Sequence

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

See Also

  • exp element-wise exponential
  • logm square matrix logarithm
  • log10 base 10 logarithm
  • ieee set floating point exception mode

Table Of Contents

This Page