annotate general/numerical/array/mulrows.m @ 35:f1ce7876346a

Updated docs.
author samer
date Mon, 21 Jan 2013 11:01:45 +0000
parents db7f4afd27c5
children
rev   line source
samer@16 1 % mulrows - Multiply rews of array by corresponding values in row vector
samer@16 2 %
samer@16 3 % mulrows :: [[N,M]], [[N]] -> [[N,M]].
samer@4 4 function y=mulrows(x,k)
samer@4 5 y=repmat(k,1,size(x,2)).*x;
samer@4 6 end