Version:

Computes the natural logarithm of the input elements.

## Syntax

c = reallog(a)

## a

Elements whose natural logarithm you want to compute. a is a scalar or an array of any dimension. The elements of a must be non-negative floating-point numbers.

## c

Natural logarithm of the elements in a. c returns -Inf for all elements of a equal to zero. c is an array of the same size as a.