Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Use ./ or / in symbolic expressions. Doesn't make a difference?
    2 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
>> 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 commentaires
Réponses (1)
  Walter Roberson
      
      
 le 1 Août 2012
        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 commentaires
Cette question est clôturée.
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

