Creating a sampling plan using Latin Hypercube Sampling?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm trying to create a sampling plan X = [x1T x2T] with 20 points using LHS.
So far I've gotten here by referring to the Matlab documentation :
%LHS sampling plan
x1 = linspace(-2,2,20)';
x2 = linspace(-2,2,20)';
X = lhsdesign(20,2)
plot (X,"*")
But it gives me values below 0.1 which cannot be true. Can someone correct me?
1 Kommentar
Sai Sri Pathuri
am 4 Mär. 2020
X = lhsdesign(20,2)
plot (X,"*")
Is this the code you used exactly? I cannot reproduce this issue on my end. I got the following output with values greater than 0.1 also.
X =
0.2528 0.4297
0.0225 0.5667
0.1136 0.2533
0.6212 0.1095
0.6987 0.3758
0.8777 0.3122
0.5177 0.7291
0.0739 0.6514
0.9314 0.6006
0.7531 0.0568
0.2085 0.0306
0.4075 0.4773
0.9814 0.2377
0.5703 0.9108
0.8064 0.9559
0.3033 0.1543
0.3666 0.7721
0.4897 0.8701
0.1673 0.5426
0.7464 0.8050
Antworten (0)
Siehe auch
Kategorien
Mehr zu Industrial Statistics finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!