Hi, there,
Here is a question:
How can I randomly generate a vector with a fixed length, and each of the element is 0 or 1, and the sum of the 1's equals another fixed value?
Thanks in advance.