MATLAB: How to write log(e) in MATLAB

explog

I am trying to calculate x=log(e) but I can not. Any help?

Best Answer

I assume you mean log10? In Matlab log is base e, so log(e)=1
x=log10(exp(1))
Related Question