why mupad messes up my terms?
2 views (last 30 days)
Show older comments
I have this code Why Mupad adds this annoying - in front? Is a bug?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152538/image.png)
0 Comments
Answers (1)
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.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!