Interleaver: Assume we have vector X= randi(1,N) I would like to split the contents of X into two new vectors X1and <
X= randi(1,N)
X
X1
I think it's hard to get a cleaner solution than this:
x = 1:20 x1 = x(1:2:end) x2 = x(2:2:end)