examples:
Build matrix A and B
if you wanna take the first 4230 data from the first column of A:
C=A(1:4230,1);
if you wanna take the first 2000 data from the first column of A and the last 2230 dat from the first column of B:
C=[A(1:2000),B(1770:4000)];