How do I enumerate a family of 0-1 matrices

1 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by