I want to generate binary matrix let say 8X1, In which four 0s and four 1s. so total number of such type of possible matrix would be 70, (see, 8Choose4 ).I want each of these one by one(may be with loop). Please help
MATLAB: How to generate binary matrix with all combination having equal probability of 1 and 0
communicationmatrix
Related Question
- Insert zeros in a vector
- Can these operations be vectorized
- Finding multiple first or last indicies
- Counting consecutive values in a matrix
- Concatenating the several matrices in a certain manner
- Numbers in random positions on a zero matrix
- How to find elements in an array based on a search from another array.
Best Answer