Using ln function with symbolic variables
5 次查看(过去 30 天)
显示 更早的评论
I am using symbolic variables, and I would like to use an ln function. But I keep getting an error. Is it possible at all to involve a logarithmic function with symbolic variables?
I have
syms x1 x2
f=ln(x1+x2);
and I am gettingthe error: Undefined function 'ln' for input arguments of type 'sym'.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assumptions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!