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개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

질문:

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