FUNCTION REFERENCE

log10

Base-10 logarithm.

Base-10 logarithm.

Syntax

log10(X)

Applies log base 10 to each element. Negative real values give complex results.

Example

log10(100)   % 2

Differences from MATLAB: Double real or complex 2-D arrays only.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.