why mupad messes up my terms?

1 visualizzazione (ultimi 30 giorni)
timo
timo il 8 Dic 2015
Risposto: Walter Roberson il 8 Dic 2015
I have this code Why Mupad adds this annoying - in front? Is a bug?

Risposte (1)

Walter Roberson
Walter Roberson il 8 Dic 2015
It is not a bug. Notice that the order of the numerator has changed from V[B]-V[N] to V[N]-V[B] with a corresponding change of sign of the overall subexpression. V[B]-V[N] = -(V[N]-V[B])
Why? Because it felt like it. Symbolic expressions may be re-ordered whenever they are not held, and when you used the evalAt operator you unheld the expressions.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by