%Matrice Multiplication in Matlab A = [ 0 1 ; 13 42 ]; B = [51 60]; C = A.*B
for q = 1:n for p = 1:m y(p) = A(p,q)*x(q) + y(p) end end
A = [1 1 0 0]; B = [1; 2; 3; 4]; %Multiply A times B. C = A*B