Returns the base-10 logarithm of x. It is performed element-wise if x is a vector, matrix or signal.
Syntax
log(x)
Types
Variable Name | Value Type | Variable Type | ||
---|---|---|---|---|
Arguments: | x | real, complex | scalar, vector, matrix, signal, xy-data | |
Result: | v | real, complex | scalar, vector, matrix, signal, xy-data |
Calculator Input
Use the
button to complete the operation.Example
ID | Description | Type | Value | Expression | |
---|---|---|---|---|---|
x | Argument | REAL VECTOR |
| [e,1] | |
v | Result | REAL VECTOR |
| log(x) |