HI all,
I have the following code
k1=repmat({'S1'}, [3,1]) ;
k2=repmat({'S2'}, [3,1]) ;
k3=repmat({'S3'}, [3,1]) ;k4=repmat({'S4'}, [3,1]) ; k5=repmat({'S5'}, [3,1]) ; k6=repmat({'S6'}, [3,1]) ; ktotal= [k1; k2;k3;k4;k5;k6];
Is it possible to create "ktotal" with a more clever way? Probably with a loop?
thank you in advance
Best Answer