Version:

Computes the base 10 logarithm of the input elements. The base 10 logarithm of zero is -inf.

## Syntax

c = log10(a)

## a

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

## c

Base 10 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.