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?

Réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by