MATLAB Answers

Problem with simplify(x^(1/log(x)).

41 ビュー (過去 30 日間)
John Billingham
John Billingham 2014 年 9 月 12 日
コメント済み: John Billingham 2014 年 9 月 12 日
>> sym x;
>> assume(x>0)
>> simplify(x^(1/log(x)),'IgnoreAnalyticConstraints',true)
>> ans = x^(1/log(x))
Note that x^(1/log(x))=e. Why won't this expression simplify?

採用された回答

Friedrich
Friedrich 2014 年 9 月 12 日
Hi,
have you tried increasing the number of simplification steps?
>> simplify(x^(1/log(x)),'steps',10)
ans =
exp(1)
  1 件のコメント
John Billingham
John Billingham 2014 年 9 月 12 日
The answer to your question is clearly 'no'! It seems crazy that you have to do that for such a simple expression.
Thanks

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by