, , , MATLAB, MATLAB . , :
y = exp(-x) * sin(x);
, . , , - . , exp(-x) sin(x). @ellieadam , , , , dot (.) . , :
y = exp(-x) .* sin(x); %
.
, . , :
A = [1 2;
3 4];
B = [4 3;
2 1];
A * B MATLAB, :
>> A * B
ans =
8 5
20 13
, . A .* B, , :
>> A .* B
ans =
4 6
6 4
, A B. A , B, , . , . , . , .
@ellieadam, MathWorks, , :
http://www.mathworks.com/help/matlab/matlab_prog/array-vs-matrix-operations.html