Y = log(X) returns the natural logarithm ln(x) of each element in array X. 在MATLAB中ln(x)用log(x)表示 Y=log(exp(1)) %运行结果 Y = 1