How do I create a series of permutation matrices
Show older comments
Hi all,
I'm new, and my maths isn't great. Was wondering if anyone could help me..
I want to create a series of matrices (zeros(3,3)) that show all possible combinations of making 1-6 of the 9 values a 1.
Mathematically, this should produce; 9nCr1 = 9 + 9nCr2 = 36 + 9nCr3 = 84 + 9nCr4 = 126 + 9nCr5 = 126 + 9nCr6 = 84 = 465 separate matrices
Does anyone know how to do that without manually specifying all of them?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices 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!