lhsdeign for parameters with different value intervals

gNavec=linspace(100,130);
gKvec=linspace(12,50);
glvec=linspace(0.1,2);
VNavec=linspace(55,120);
VKvec=linspace(-30,-5);
Vlvec=linspace(5,20);
I0vec=linspace(0,45);
X=lhsdesign(100,7);
plot(X,"*");
disp(X);
In my code, I want to make sure the values generated by lhsdesign to be in the given intervals above, however, I ended up with all values which are smaller than 1 in my X matrix. Is there a way to solve this?

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by