I have this code
minValue = 0.0251;
maxValue = 3.9811 / 5;
randomValues = 10*(minValue + (maxValue - minValue) * rand(1,i));
I want to select from vector A two random value in which this values it is verify this condition
1- such one it is between 1 and 5.
for example a and b two values, the condition is
(a>=m && a<=n) && (b>=m && b<=n)