In matlab, if I have this code :
v=10;
for t=1:v
Rateall(1:v) = (1/2)*(log2(1+SINR1)+log2(1+SINR2));
distanceall(1:v)=pdist([randomclusters{1};randomclusters{2}],'euclidean');
end
Rateall has 10 values and distanceall has 10 values after the for loop. How to plot the cdf graph between both Rateall and distanceall?