function n=r1(m,a,b) %r1(Matrix,a,b) takes a matrix and multiplies the row a by b l=m; c=size(l); for i = 1:c(2) l(a,i)=l(a,i)*b; end n=l;