All possible combinations of n*n Matrix

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)

Asked:

on 25 Dec 2013

Edited:

on 25 Dec 2013

Community Treasure Hunt

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

Start Hunting!