Array multiply和Matrix multiply有什么区别?

来源:百度知道 编辑:UC知道 时间:2024/05/25 19:04:34
matlab中Array multiply和Matrix multiply分别是.*和*表示,这两个有什么区别?

.* Array multiply.
X.*Y denotes element-by-element multiplication. X and Y
must have the same dimensions unless one is a scalar.
A scalar can be multiplied into anything.

C = TIMES(A,B) is called for the syntax 'A .* B' when A or B is an
object.