How to calculate the value of natural log 'e' in Matlab?
조회 수: 69 (최근 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!