How do I enumerate a family of 0-1 matrices

1 view (last 30 days)
I'm trying to generate the family of all 10-by-3 matrices, where each matrix in the family, call it S, has the property that S(i,j)= 0 or 1 for i=1..10 and j=1..3, and that each of the 10 row sums of S equals 1, i.e. S(i,1)+S(i,2)+S(i,3)=1, for i=1..10.

Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!