What is the proper format to express ln z?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
trudy rea
el 3 de Jul. de 2021
Respondida: Steven Lord
el 3 de Jul. de 2021
I imput the ln function and I get an error saying that the function is not defined.
1 comentario
Amit Bhowmick
el 3 de Jul. de 2021
please check spelling of the function. Then check if it is saved inside the current directory,
Type dir
Respuesta aceptada
Steven Lord
el 3 de Jul. de 2021
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.
- 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.
- 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Debugging and Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!