latin cube
Given a positive integer specifying size (N), this code will compute an example latin cube, a 3 dimensional extension of the latin square in which each orthogonal slice through the cube is itself a latin square.Note that the cube created is not an example of a /balanced/ latin cube, rather a randomized one.
Example:
>> M = latin_cube(3)
M(:,:,1) =
3 1 2
2 3 1
1 2 3
M(:,:,2) =
1 2 3
3 1 2
2 3 1
M(:,:,3) =
2 3 1
1 2 3
3 1 2
----------------
With thanks to Jos (10584) for his excellent latsq.m.
Citation pour cette source
W. Owen Brimijoin (2026). latin cube (https://fr.mathworks.com/matlabcentral/fileexchange/28201-latin-cube), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Signal Processing > Signal Processing Toolbox > Digital and Analog Filters > Digital Filter Analysis >
Tags
Remerciements
Inspiré par : latsq(N)
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | Added H1 line and expanded help and description. |
||
| 1.0.0.0 |
