How to assign a big stream bit into one column vector <p>I have a large bit stream. (e.g. 10110001010101000.....001 size thousands or millions)</p> <p>I want to assign this bit stream into a one column vector x.</p> <pre><code> x = zeros(n,1); </code></pre> <p>I have tried to use some mod or rem operations, there will have some problems. </p> <p>I guess it caused by the integer size.</p> <p>I want to ask is there any good method to solve this problem? </p> <p>Thanks for reading.</p>