Info

This question is closed. Reopen it to edit or answer.

How I generate all possible pairs of matrices?

1 view (last 30 days)
Ammy
Ammy on 26 Jan 2018
Closed: Walter Roberson on 26 Jan 2018
First I define orthogonal matrix as when I combine two matrices (entry in first matrix with the corresponding entry in second matrix) there is no repetition in the ordered pair in the whole new matrix . e.g
A=[1 2 3;2 3 1; 3 2 1] and B=[1 2 3;3 1 2;2 1 3]
New = [1 1 2 2 3 3; 2 3 3 1 1 2; 3 2 2 1 1 3]
In the resulting matrix there is no repetition in the pairs.
If I have 120 such matrices , how I generate all possible mutually orthogonal out of these 120.

Answers (1)

Ammy
Ammy on 26 Jan 2018
The question is same as earlier , but still I don't know the appropriate way to get all possible pairs in MATLAB. Would you please like to introduce any code that solve my problem.

Community Treasure Hunt

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

Start Hunting!