function B = rowmultiple(A,i,k) % ROWMULTIPLE Given an m x n matrix A % along with an integer i between 1 and m and a % nonzero scalar k this function will priduce a m x n % matrix B that is the result of multiplying row i of % A by k B = A; B(i,:) = k * A(i,:);