how can I generate all possible mutually orthogonal permutative matrices of order 3 in matlab ?

1 view (last 30 days)
e.g
1 2 3 1 2 3 (1,1) (2,2) (3,3)
2 3 1 3 1 2 (2,3) (3,1) (1,2)
3 2 1 2 1 3 (3,2) (2,1) (1,3)
these are mutually orthogonal because there is no repition in the ordered pairs.
  3 Comments
Ammy
Ammy on 20 Jan 2018
RespectedSir,
Thank you for your kind consideration.
There are 120 permutative matrices of order 3, Is there any way to gererate all pairs out of these 120 which are orthognal to each other .
I need two orthogonal matrices with the condition that the hamming distance between each row should remain constant .
As in case of order 3 I need two orthogonal matrices with fixed hamming distance 3 between each possible pair of rows .
David Goodmanson
David Goodmanson on 21 Jan 2018
Edited: David Goodmanson on 21 Jan 2018
Hi Noor,
How is a permutative matrix of order 3 defined? I though it might be a matrix where no number from {1,2,3} is repeated in any row or column, but there are only 12 of those.

Sign in to comment.

Answers (1)

Ammy
Ammy on 21 Jan 2018
No number from {1,2,3} is repeated in row , column repetition is allow.
  9 Comments

Sign in to comment.

Categories

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