How to calculate the value of natural log 'e' in Matlab?
38 次查看(过去 30 天)
显示 更早的评论
Hi,
I tried following:
>> e.e
error: undefined function or variable e
>> exp(1) . exp(1)
error: Invalid expression
Some body please guide me how to find the natural log of a value in Matlab.
Zulfi.
0 个评论
采纳的回答
Rik
2018-11-21
The method to calculate the natural log is simply log(). If you want base 10 it is actually log10().
2 个评论
Rik
2018-11-21
One of the nice things about the Matlab doc, it that at the bottom of the page there are links to similar functions, so if Google gets you to exp, the 'See Also' gets to to log and log10.
I'm sorry if I sounded a bit snarky btw.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Google 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!