Group: | Mathematical Functions |
Topic: | Exponential and Logarithmic Functions |
See also: | exp expm1 log10 log1p |
Function: | log | |
Description: | log returns the natural logarithm of the elements of an array. |
Usage: | z = log (x) | |
Input: | ||
x | array | |
Output: | ||
z | array |
log(exp((1:5)'))
Contents of log [1,] 1 2 3 4 5