alternatif dari dua vektor matlab

A=[1; 0; 3; 4 ;6 ;0]; 
B=[5; 6; 7 ;0 ;4];
C=cat(1,A,B);
C([1:2:end,2:2:end])=C
Excited Echidna