Matlab - binary vector with high concentration of 1s (or 0s)
- by JohnIdol
What's the best way to generate a number X of random binary vectors of size N with concentration of 1s (or, simmetrically, of 0s) that spans from very low to very high?
Using randint or unidrnd (as in this question) will generate binary vectors with uniform distributions, which is not what I need in this case.
Any help appreciated!