function n=r3(m,a,b,c) %r3(Matrix,a,b,c) takes a matrix and adds b*row c to row a l=m; d=size(l); for i = 1:d(2) l(a,i)=l(a,i)+b*l(c,i); end n=l;