How can I write log(e) in MATLAB?
100 次查看(过去 30 天)
显示 更早的评论
I am trying to calculate x=log(e) but I can not. Any help?
采纳的回答
David Fletcher
2018-4-15
I assume you mean log10? In Matlab log is base e, so log(e)=1
x=log10(exp(1))
6 个评论
John D'Errico
2021-4-16
@sultana saffi Please stop spamming this question with answers and comments to compute a log to do your homework.
Do you know the basic rule for logs to other bases?
The formula is given here:
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!