Why this error appears when I type ln?

11 visualizzazioni (ultimi 30 giorni)
Serge
Serge il 16 Gen 2015
Risposto: Star Strider il 16 Gen 2015
Undefined function 'ln' for input arguments of type 'double'.

Risposte (1)

Star Strider
Star Strider il 16 Gen 2015
The natural logarithm function in MATLAB is log:
y = log(2)
returns:
y =
693.1472e-003

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by