How to turn off the simplification condition?

조회 수: 9 (최근 30일)
Siavash
Siavash 2023년 6월 16일
댓글: Siavash 2023년 6월 17일
I am simplifying a symbolic expression and I want to ignore analytic constraints.
Simplify returns conditions on which its simplification is correct. This follows an & symbol.
How can I turn that off? I want to assign the simplified answer to another variable and do further calculations on it. That condition ruins it.
Any solution?
Thank you!
  댓글 수: 1
Siavash
Siavash 2023년 6월 17일
Thank you everyone. I could not find a solution to this. So, I used Maple instead to solve the equations.

댓글을 달려면 로그인하십시오.

답변 (1개)

Torsten
Torsten 2023년 6월 16일
이동: Torsten 2023년 6월 16일
Then use
expr = simplify(expr,'IgnoreAnalyticConstraints',true)
  댓글 수: 3
Torsten
Torsten 2023년 6월 16일
편집: Torsten 2023년 6월 16일
How do you get the expression you try to simplify ? Using the "solve" command with ("ReturnConditions",true) ?
Please include your code where the problem arises.
Siavash
Siavash 2023년 6월 17일
편집: Siavash 2023년 6월 17일
No. With simplify command, like this:
eq12is = simplify(eq12is,"IgnoreAnalyticConstraints",true,"Steps",10)
The equations I want to simplify are pretty long. I'm not sure if I can copy them here. It's about tens of millions of characters.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by