Why this error appears when I type ln?

14 次查看(过去 30 天)
Undefined function 'ln' for input arguments of type 'double'.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by