Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Mupad - using brackets in statements
1 回表示 (過去 30 日間)
古いコメントを表示
This might be a silly question, but can anybody explain why this assignment in Mupad does not produce an error:
a:=1000(9-x)
I am trying to show students most common errors, and this was supposed to be an example of how they need to always use multiplication sign, however Mupad obviously thinks this is a valid command and assigns a = 1000. What does it think (9-x) is then?
0 件のコメント
回答 (2 件)
Walter Roberson
2013 年 12 月 3 日
MuPAD tries to be smarter about recognizing implied algebraic operations, so it is probably treating that as a multiplication, 1000*(9-x)
There are some other stranger possibilities that I cannot test as I do not have Mathwork's Symbolic Mathematics Toolbox
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!