log10

Computes the base-10 logarithm for each element of x.

Syntax

log10(x)

Inputs

x
Type: double | complex
Dimension: scalar | vector | matrix

Outputs

R
The returned values.
Type: double | complex
Dimension: scalar | vector | matrix.

Examples

Scalar input:

log10(100)
R = 2

Matrix input:

log10([2,1.6])
R = [ 0.30103 0.20412 ]