Why this error appears when I type ln?

14 views (last 30 days)
Serge
Serge on 16 Jan 2015
Answered: Star Strider on 16 Jan 2015
Undefined function 'ln' for input arguments of type 'double'.

Answers (1)

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

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!