log10

Common logarithm (base 10).

Syntax

log10(expr)

Argument

expr
A valid scalar or vector expression.

Example

Templex Expression Result
{log10(1)} 0
{log10( {1, 10, 100} )} 0, 1, 2
{log10( { {1, 10}, {100, 10} } )} {0, 1}, {2, 1}
Curve Math Vectors
x = c1.x

y = log(c1.x)

Comments

If expr is a scalar, the result is a scalar which is the common logarithm of expr.expr must be positive.

If expr is a vector, the result is a vector containing the common logarithm of each element in expr. Each element of expr must be positive.

If expr is a matrix, the result is a matrix containing the common logarithm of each element in expr. Each element of expr must be positive.