# log

Version:
Last Modified: December 12, 2016

Computes the natural logarithm of the input elements.

The natural logarithm of zero is -inf.

## Syntax

c = log(a)

## a

Scalar or array of any dimension of floating point or complex numbers.

## c

Natural logarithm of the elements in a. c returns complex numbers for negative or complex elements in a. c is an array of the same size as a.

A = [0.1, 1; 10, 100]
C = log(A)

Where This Node Can Run:

Desktop OS: Windows

FPGA: DAQExpress does not support FPGA devices