matlab - How to assign a big stream bit into one column vector -


i have large bit stream. (e.g. 10110001010101000.....001 size thousands or millions)

i want assign bit stream 1 column vector x.

    x = zeros(n,1); 

i have tried use mod or rem operations, there have problems.

i guess caused integer size.

i want ask there method solve problem?

thanks reading.

assuming, example:

x = '10100101010101010100'; 

you turn logical column vector way:

x = (x == '1')'; 

Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -