Feeds
提问
how to find different permutations of columns of a matrix such that at any permutation just two columns change place
what permutations are there if we want n-2 columns be the same and just 2 columns swap. Here is an example of what I mean: a=[...
10 years 前 | 1 个回答 | 0
1
个回答提问
How can I Store all the possible combinations of columns of a matrix?
for example I have : [1 2 3; 4 5 6; 7 8 9] as 3x3 matrix. Now I want : [2 1 3; 5 4 6; 8 7 9] and every other combi...
10 years 前 | 2 个回答 | 0