Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Use ./ or / in symbolic expressions. Doesn't make a difference?
    2 ビュー (過去 30 日間)
  
       古いコメントを表示
    
>> syms k
>> f = k./(k+1)
f =
k/(k + 1)
>> g = k/(k+1)
g =
k/(k + 1)
f and g above end up being the same. Why?
0 件のコメント
回答 (1 件)
  Walter Roberson
      
      
 2012 年 8 月 1 日
        The operators are overloaded in symbolic expressions and defined to mean the same thing for symbolic expressions.
MuPAD's / operator is sensitive to the data type that is being used and only does matrix arithmetic when appropriate. See http://www.mathworks.com/help/toolbox/mupad/linalg/index.html
0 件のコメント
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

