

% seed value for 5 clients : 256832
% seed value for 10 clients: 783634
% seed value for 20 clients: 5782345

% ---------------------------------
% lambda values taken from above seeds. p and q from below
% 5 clients same: 3546567 (q value taken)
% 10 clients same: 567845 (q value taken)
% 20 clients same: 6378479 (q value taken)

% ---------------------------------
% p randomly from [0.05, 0.95], and q is p/(0.5^1/N) 
% 5 clients same: 234557 
% 10 clients same:  6348734
% 20 clients same:  963564


seed = 256832
rng(seed)


numClients = 5;

a = 0.05;
b = 0.95;

q = (b-a).*rand(numClients,1) + a
p = (b-a).*rand(numClients,1) + a


%q = (p/(0.5^(1/numClients))) - p

lambdaMaxRange = 1 / numClients
lambdaMinRange = 0.1/numClients

lamda = (lambdaMaxRange-lambdaMinRange).*rand(numClients,1) + lambdaMinRange
