Hi, I have an array a = [1 2 3] and I want to repeat it twice so I'll have b = [1 2 3 1 2 3]. I try this code, and of course it won't work as I want.
a = 1:3;for n = 1:2 b = a;endb
I don't know what I should write in the for-loop. Could anyone help me? Thank you.
Best Answer