function [b] = Matrix_Vector_Mult(A,x,n)
%UNTITLED Summary of this function goes here
%   Detailed explanation goes here

   flopcount = 0;

   for i = 1:n
      value = A(i,1)*x(1,1);
      flopcount = flopcount+1;
      for j = 2:n
         value = value+A(i,j)*x(j,1);
         flopcount = flopcount+2;
      end
      
      b(i,1) = value;
   end
   
   flopcount

end

