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!