y = log(x);
Returns the natural logarithm of X or the elements of X.
X |
log(X) |
1 |
0 |
2.1 |
0.6931 |
4 |
1.3863 |
[1,2.1;4,1] |
[0,0.6931;1.3863,0] |
-2.6 |
not allowed! |
X and Y must have the same size. X or the elements of X must be larger than zero.