How do I create a series of permutation matrices
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!