Info
此问题已关闭。 请重新打开它进行编辑或回答。
Does a latin hypercube require uniqueness in rows? or only columns?
1 次查看(过去 30 天)
显示 更早的评论
I was using the LHSdesign that matlab has provided to generate a latin hypercube design for a 32 run 6 variable experiment I am working on. I wanted to know the bin that each sample fell into so I used the following code to generate my run matrix:
%Generate a Latin Hypercube design of the proper size
X = lhsdesign(Np,Nv);
%Break the Latin Hypercube into its spaceing components
X = ceil(Np*X);
When I checked the output I noticed something that confused me, There were two different variables with the same bin number during the same run. Doesn't this violate the properties of a latin hypercube? or am I mistaken? please help. In the image below columns are variables and rows are runs.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147961/image.png)
Most papers I have found assume only uniqueness in columns, however the basic definition of a latin square is "an n × n array filled with n different symbols, each occurring exactly once in each row and exactly once in each column. "
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!