why does ln not work

20 visualizaciones (últimos 30 días)
Jon Stapels
Jon Stapels el 3 de Mzo. de 2017
Editada: Geoff Hayes el 3 de Mzo. de 2017
Can not get the ln command to work in MATLAB;
>> ln(2) Undefined function or variable 'ln'.
What am I doing wrong?

Respuestas (1)

Geoff Hayes
Geoff Hayes el 3 de Mzo. de 2017
Editada: Geoff Hayes el 3 de Mzo. de 2017
Jon - use log for the natural logarithm.
>> log(2)
ln is not a built-in MATLAB function (or rather it is but for MuPAD - see MuPAD ln for details).

Community Treasure Hunt

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

Start Hunting!

Translated by