필터 지우기
필터 지우기

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

조회 수: 13 (최근 30일)
John Billingham
John Billingham 2014년 9월 12일
댓글: jin yong 2023년 2월 8일
>> 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