MATLAB: Mixing and merge two vectors mergevector Dear all, i want to mix and merge two vector in a one, A = [1 2 3 4];B = [5 6 7 8]; to get C = [1 5 2 6 3 7 4 8]; Thanks in advance Best Answer This works:A = [1 2 3 4];B = [5 6 7 8];C = reshape([A; B], [], 1)';C = 1 5 2 6 3 7 4 8 Related SolutionsMATLAB: Frequency mixing Let X(\omega) = G(\omega-\omega_0)ThenX(\omega_0) = G(0)if \omega_0 is positive, then X(\omega) is shifted to the right of G(\omega) MATLAB: Help running Matlab script Related QuestionHow to play and merge/mix 2 wav filesMerging the matricesDivide an array in n different arraysMatrix/Image MergingHow to merge two matrix into single matrix . two matrix is of size 270×13 into single matrix of 270×26 .this can be done by merging the cells alternatively.a=[1 2 3 4],b=[5 6 7 8],c=[1 5 2 6 3 7 4 8].is there any command available in matlab.help me
Best Answer