I need to combine the vectors A = [1 5 9] and B = [3 2 8 12] into a vector C such that C = [1 3 5 2 8 12].
I need the elements of the combined vectors A and B to alternate sequentially in the new vector C, with any extra elements that cause A and B to differ in dimension arranged neatly at the end. If someone could help me out that would be great. I know the answer is a simple one that happens to elude a noob such as myself.
0 · ·