MATLAB: Dividing stream

bit-stream

i have bit stream of 30 bit y= 1 0 1 0 0 0 1 1 1 1 1 0………. i need to make it as y(0)=1 0 1 y(1)= 0 0 0 y(2)= 1 1 1 and so on please help me

Best Answer

doc reshape
yout = reshape(y,3,[])';