latin cube

This function will compute a randomized example latin cube of size N.
466.0 次下载
更新时间 2010/7/15

查看许可证

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.

引用格式

W. Owen Brimijoin (2024). latin cube (https://www.mathworks.com/matlabcentral/fileexchange/28201-latin-cube), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Digital Filter Analysis 的更多信息
致谢

参考作品: latsq(N)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Added H1 line and expanded help and description.

1.0.0.0