rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
repmatrows.m
1 function rmat = repmatrows(A,times)
2 %
3 % Function stretching a matrix in first direction by
4 % copying the rows
5 
6 % Bernard Haasdonk 19.7.2006
7 
8 rmat = reshape(repmat(A',times,1),...
9  size(A,2),size(A,1)* times)';
10 %| \docupdate