# log10

## Purpose

Common logarithm.

## Synopsis

    Y = log10(X)

## Description

`log10` is an elementary function that operates element-by-element on matrices. Its domain includes complex numbers, which can lead to unexpected results if used unintentionally.

`log10(X)` is the base 10 logarithm of the elements of `X`.

## Examples

On a computer with IEEE arithmetic

    log10(realmax)

is

    308.2547

and

    log10(eps)

is

    -15.6536

## See Also

    log

(c) Copyright 1994 by The MathWorks, Inc.