samer@4: function y=mulrows(x,k) samer@4: y=repmat(k,1,size(x,2)).*x; samer@4: end