>> log(10)
ans =
2.3026
>> log10(10)
ans =
1
>> help log
LOG Natural logarithm.
LOG(X) is the natural logarithm of the elements of X.
Complex results are produced if X is not positive.
See also log1p, log2, log10, exp, logm, reallog.
log 就是自然对数函数,如 log(10)
log10才是以10为底的。