MATLAB: Concatenate 8X4 matrix in 16X2 matrix in matlab

concatenate

Hi there, I want to concatenate a 4 columns matrix into 2 column matrix, for example, I have these variables:
I want to get this arrange:
How I can get that? Thanxs for your help

Best Answer

This should do it:
B = [A(:,1:2); A(:,3:4)]