| MATLAB Function Reference | ![]() |
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
log10(eps) is -15.6536
See Also
| log | log2 | ![]() |