LOG Function

LOG (matrix) ;

The LOG function is the scalar function that takes the natural logarithm of each element of the argument matrix. An example of a valid statement follows:

c = {1 2 3};
b = log(c);
print b;

Figure 23.174: Natural Logarithms

b
0 0.6931472 1.0986123