The ".*" Operator multiplies elements by two arrays.
The "*" operator performs multimetric multiplication of two arrays, which in your case cannot be performed on two 3x1 vectors, so Matlab reports an error.
The ".+" Operator does not exist in Matlab. In this case, Matlab believes that you use the syntax "." to refer to an element of a structure or function, therefore, to the error you receive.
Siskin
source share