フィルターのクリア

How to calculate the value of natural log 'e' in Matlab?

52 ビュー (過去 30 日間)
Zulfiqar Khan
Zulfiqar Khan 2018 年 11 月 21 日
コメント済み: Rik 2018 年 11 月 21 日
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.

採用された回答

Rik
Rik 2018 年 11 月 21 日
Please try Google next time before you ask a question (and have a look here).
The method to calculate the natural log is simply log(). If you want base 10 it is actually log10().
  2 件のコメント
Zulfiqar Khan
Zulfiqar Khan 2018 年 11 月 21 日
Hi,
Thanks for your response. I actually tried google before posting and got following:MathWorks
Google is good but sometimes we need human interactions and thats why we have forums.
Zulfi.
Rik
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 件)

madhan ravi
madhan ravi 2018 年 11 月 21 日
  1 件のコメント
Zulfiqar Khan
Zulfiqar Khan 2018 年 11 月 21 日
Thanks. It worked. God bless you.
Zulfi.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGoogle についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by