MATLAB: How to make one of the parameters always greater than another one

for loopgreater thanparameters

Hi all,
So I have the code below, how could I change it if I always wanted beta to be larger than alpha0?
Thanks in advance!
n = 1000;
parameters = zeros(n,6);
for k=1:n
alpha0=0.936095503847192;psa0=1.397154668867660;gamma=rand;psi=rand;beta=rand;mse=0;
parameters(k,:) = [alpha0,psa0,gamma,psi*gamma,beta,mse];
end

Best Answer

beta = alpha0 + rand;