How to turn off the simplification condition?

2 次查看(过去 30 天)
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.

请先登录,再进行评论。

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by