numPoints = 25;# 设置抽样点的数量
numDimensions = 4;# 设置抽样点的维度
lhsample = lhsdesign(numPoints, numDimensions);# 生成拉丁超立方抽样
lowerBound = [24 351 659 488]; # 设置每个维度的下限
upperBound = [30 361 671 500];# 设置每个维度的上限
sample = repmat(lowerBound, numPoints, 1) + lhsample .* repmat(upperBound - lowerBound, numPoints, 1);# 将抽样点映射到指定的范围
ERROR: UndefVarError: lhsdesign
not defined
Stacktrace:
[1] top-level scope