log10 - Common (base 10) logarithm

Syntax

Y = log10(X)

Description

The log10 function operates element-by-element on arrays. Its domain includes complex numbers, which may lead to unexpected results if used unintentionally.

Y = log10(X) returns the base 10 logarithm of the elements of X.

Examples

log10(realmax) is 308.2547

and

log10(eps) is -15.6536

See Also

exp, log, log2, logm

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS