Create a vector from repetition of two others
2 views (last 30 days)
I come to you with what should have an easy solution but one that I can't seem to figure out.
I want to make a line vector from two other vector that have the same size by repeating them a number of time alternatively.
A=[1 2 3 4 5];
B=[6 7 8 9 10];
C=[A,B,A,B,A,B,......] %n times
Thank you in advance for your help