following HTML/JavaScript code. It uses File:ECDF-0.png—a blank graph, blue.png—a single blue pixel, and grey.png—a single grey pixel. For more information...
std2*randn(num_samps,1), 2*pi); %Get emprical cdfs [f1,x1] = ecdf(dat1); [f2,x2] = ecdf(dat2); for k1 = 1:length(x1); [~,k2] = min(abs(x2 - x1(k1)));...