why mupad messes up my terms?

I have this code Why Mupad adds this annoying - in front? Is a bug?

Answers (1)

Walter Roberson
Walter Roberson on 8 Dec 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.

Tags

Asked:

on 8 Dec 2015

Answered:

on 8 Dec 2015

Community Treasure Hunt

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

Start Hunting!