MATLAB: How to combine these 2 matrix

matricsmatrix array

my latent values is 10×400 and results value is 10*9 how to combine these matrics and make them into 10×409 matrics

Best Answer

a = ones(10,400);
b = ones(10,9);
c = [ a, b]; % c is a 10x409 size matirx