% Multiplication of a row vector by a
% column vector
v1 = [1 2 -1]
v2 = [3 4 5]
s = v1*v2'

% Multiplication of a matrix by a column vector
M1 = [1 2; 3 4]
v3 = [1; -2]
v4 = M1*v3

% Multiplication of a matrix by another matrix
A = M1
B = [1 1 0; 1 -1 1]
C = A*B