lhsdeign for parameters with different value intervals

2 views (last 30 days)
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?

Answers (0)

Categories

Find more on Specialized Power Systems in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!