I have F= 20×12 matrix and I want to get F2 =62×12 matrix in such away that The each element of F(20X12)is replicated by 3 and the last value has to be replicated 5 times so as to have 62×12 data
here is the matrix I worked upon and failed
for k =size(F,1); a=repmat(F,3,1); F2=[a(:);ones(2,1)*a(end)] end;
but couldn't succeed..any help is highly appreciated
Best Answer