Using ln function with symbolic variables

3 ビュー (過去 30 日間)
Del
Del 2013 年 5 月 18 日
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'.
  1 件のコメント
Del
Del 2013 年 5 月 18 日
I just tried log instead of ln, and it is working

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeAssumptions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by