Effacer les filtres
Effacer les filtres

How to turn off the simplification condition?

2 vues (au cours des 30 derniers jours)
Siavash
Siavash le 16 Juin 2023
Commenté : Siavash le 17 Juin 2023
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 commentaire
Siavash
Siavash le 17 Juin 2023
Thank you everyone. I could not find a solution to this. So, I used Maple instead to solve the equations.

Connectez-vous pour commenter.

Réponses (1)

Torsten
Torsten le 16 Juin 2023
Déplacé(e) : Torsten le 16 Juin 2023
Then use
expr = simplify(expr,'IgnoreAnalyticConstraints',true)
  3 commentaires
Torsten
Torsten le 16 Juin 2023
Modifié(e) : Torsten le 16 Juin 2023
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 le 17 Juin 2023
Modifié(e) : Siavash le 17 Juin 2023
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.

Connectez-vous pour commenter.

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by