As a part of my Project. I would like to generate all possible combinations of 48 bit binary sequence with minimum consecutive bits. for eg : if min consecutive bits is 4, then it should generate all combinations of 48 bit binary sequences with consecutive 0's or 1's should be greater than 4. eg: 00000111100000…… etc or 11110000011111100000…..and so on. I tried different methods using normal Loop operations but its takes infinitely long time (counting 1's or 0's from 2^0 to 2^48). is there any function which i could use to implement this idea. It would be really helpful. Thanks a lot.
MATLAB: How to Generate Array of mimimum consecutive bits (1’s or 0’s)
consecutive 1's or 0's
Related Question
- 4 matrix generation depending on a specific value,
- Delete rows and columns with zeros in a multi level cell array matrix.
- Extracting subsequences of binary string
- How to randomly generate 0.1 or -0.1
- How to configure crc.generator object from to implement X.25 Standard Cyclic Redundancy Check (CRC) coding with the Communications Toolbox 4.4 (R2009b)
Best Answer