|
|
| File Information |
| Description |
BALLATSQ - Balanced Latin Square
M = BALLATSQ(N) creates a balanced latin square of size N containing the numbers 1 to N. N should be an even positive integer.
A latin square of size M is a MxM matrix filled with the M different numbers in such a way that each number occurs exactly once in each row and exactly once in each column. A balanced latin square has the further restriction that each sequence of two values in a row does not occur more than once in the whole matrix. They have applications in the design of experiments. |
| MATLAB release |
MATLAB 6.5 (R13)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (4) |
| 18 Feb 2006 |
John D'Errico
|
|
|
| 12 Apr 2006 |
Jos vdG
|
|
|
| 19 Sep 2006 |
Jos (author)
|
|
|
| 23 Mar 2010 |
Jiri
|
|
|
| Updates |
| 13 Apr 2006 |
improved algorithm |
| 18 Sep 2006 |
added randomization
modified help |
| 26 Mar 2009 |
better comments and randomization |
|
Contact us at files@mathworks.com