An implementation of the Markov chain Monte Carlo algorithm for generating random Latin squares of arbitrary order with approximately uniform distribution, proposed by Jacobson & Matthews:
M. Jacobson, P. Matthews, "Generating uniformly distributed random Latin squares", Journal of Combinatorial Designs, vol. 4, no. 6, pp. 405-437, 1996.
This implementation is based on:
I. Gallego Sagastume, "Generation of random latin squares step by step and graphically", XX Congreso Argentino de Ciencias de la Computación, Buenos Aires, 2014.
引用格式
Jakub Wagner (2024). Random Latin square (https://www.mathworks.com/matlabcentral/fileexchange/79200-random-latin-square), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2020a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!