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

 採用された回答

per isakson
per isakson 2015 年 6 月 11 日
編集済み: per isakson 2015 年 6 月 11 日

1 投票

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

その他の回答 (0 件)

カテゴリ

製品

質問済み:

2015 年 6 月 11 日

編集済み:

2015 年 6 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by