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

15 次查看(过去 30 天)
>> 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?
  1 个评论
jin yong
jin yong 2023-2-8
syms x a;
assume(x>0)
x=exp(a)
x = 
simplify(x^(1/log(x)),'IgnoreAnalyticConstraints',true)
ans = 
e

请先登录,再进行评论。

采纳的回答

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 个)

类别

Help CenterFile Exchange 中查找有关 Assumptions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by