What's the difference using .* and *, or ./ and /?

58 vues (au cours des 30 derniers jours)
Karen
Karen le 11 Juin 2015
Modifié(e) : per isakson le 11 Juin 2015
Hi when do I know to use the . in dividing or multiplying? Originally, I had thought to use .* or ./ if we are doing element-by-element product/division of two matrices, and use * for matrix multiplication/division. If it's related to the array/vector/matrix stuff, I'm a bit fuzzy on that too, so any explanations would be great!!
Thanks!!

Réponse acceptée

per isakson
per isakson le 11 Juin 2015
Modifié(e) : per isakson le 11 Juin 2015
Element-by-element operations. These are obtained using .* , .^, ./, or .\. See the Arithmetic Operators page. See

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by