rbmatlab  1.13.10
 All Classes Namespaces Files Functions Variables Groups 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 % TO BE ADJUSTED TO NEW SYNTAX
11 %| \docupdate