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

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!!

 Akzeptierte Antwort

per isakson
per isakson am 11 Jun. 2015
Bearbeitet: per isakson am 11 Jun. 2015

1 Stimme

Element-by-element operations. These are obtained using .* , .^, ./, or .\. See the Arithmetic Operators page. See

Weitere Antworten (0)

Kategorien

Produkte

Gefragt:

am 11 Jun. 2015

Bearbeitet:

am 11 Jun. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by