How to switch the sign between numerator and denominator in a symbolic expression

3 vues (au cours des 30 derniers jours)
Aider
Aider le 13 Sep 2020
Commenté : Walter Roberson le 17 Sep 2020
Hello.
I have an expression of the form
TL_theta =
I would like to express the previous equation in a form where the numerator and denominator have opposite signs as shown. In other words extract or multiply by (-1/-1).
Thanks in advance for your help.

Réponses (1)

Pranav Verma
Pranav Verma le 17 Sep 2020
Hi Aider,
The symbolic math toolbox does some manipulations internally and carries out the simplification to convert the expression that is best suited for it to proceed for further calculations but it'll provide the correct results to the calculations that it is supposed to do. Eventually it'll cancel out the negative signs from the expression internally.
Please refer to the below discussion on the same lines:
Thanks
  1 commentaire
Walter Roberson
Walter Roberson le 17 Sep 2020
Good tracking, Pranav Verma; I think that is still the most complete examination of the matter that I have seen anywhere.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by