How do I enumerate a family of 0-1 matrices

1 visualización (últimos 30 días)
Paul Fishback
Paul Fishback el 25 de Ag. de 2016
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.

Respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by