log Syntax log(X) Arguments X is a scalar/vector/matrix/table. Details Return the natural logarithm of X. Examples log(2.718283); // output: 1 log(0 1 2 3); // output: [,0,0.693147,1.098612]