All possible combinations of n*n Matrix

1 view (last 30 days)
Muhammad Rahil Rafiq
Muhammad Rahil Rafiq on 25 Dec 2013
Edited: Matt J on 25 Dec 2013
A=[1 1 1 1 1;
0 0 0 0 0;
0 0 0 0 0;
0 0 0 0 0;
0 0 0 0 0]
I want to store all possible combinations/permutations of Matrix A.
Please Help
  1 Comment
Matt J
Matt J on 25 Dec 2013
Edited: Matt J on 25 Dec 2013
That's doubtful. A lower bound on the memory it would require to store factorial(25) permutations of anything is 4.4194e+09 GB.

Sign in to comment.

Answers (0)

Categories

Find more on Matrices and Arrays 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!