How to generate a total random 6 by 6 Latin Square?
Show older comments
I have a question about 6 by 6 Latin Square, right now I have a Latin Square like this:
6 1 4 2 3 5
3 4 1 5 6 2
5 6 3 1 2 4
4 5 2 6 1 3
2 3 6 4 5 1
1 2 5 3 4 6
But I found in the fourth column and sixth column, 1 and 6 comes out in the the same sequence (6 is just behind 1). The same situation happens in the first column and fifth column, 5 and 4 comes out in the same sequence (4 is just behind 5). Is it possible to avoid this problem? Thank you very much!
Answers (1)
George Papazafeiropoulos
on 23 May 2014
0 votes
Look at the following:
Hope this helps!
2 Comments
Tao
on 23 May 2014
Ilya Gurin
on 28 Oct 2019
Also, File Exchange has a very restrictive license.
Categories
Find more on Choose a Solver 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!