필터 지우기
필터 지우기

What is the proper format to express ln z?

조회 수: 1 (최근 30일)
trudy rea
trudy rea 2021년 7월 3일
답변: Steven Lord 2021년 7월 3일
I imput the ln function and I get an error saying that the function is not defined.
  댓글 수: 1
Amit Bhowmick
Amit Bhowmick 2021년 7월 3일
please check spelling of the function. Then check if it is saved inside the current directory,
Type dir

댓글을 달려면 로그인하십시오.

채택된 답변

Steven Lord
Steven Lord 2021년 7월 3일
The natural logarithm function in MATLAB is log not ln. [There are log10 and log2 functions for base 10 and base 2 respectively.]
From the questions you've been asking I suspect you're fairly new to MATLAB. If that's true, I have two suggestions.
  1. Take the roughly two hour free MATLAB Onramp tutorial (https://www.mathworks.com/support/learn-with-matlab-tutorials.html) to quickly learn the essentials of MATLAB.
  2. Make use of the documentation, searching for terms that are related to your task at hand. For example when I opened the documentation using the doc function and typed "logarithm" into the search bar log, log10, and log2 were each on the first page of the results.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Debugging and Analysis에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by