% SAMP2       Repeated sampling with increasing sample size for NMDs.

count=1;

ss=10:10:30;

for n=ss,
  n
  [Da,Ds]=repsnmd([0.75 0.25]',[1 1/3]',[0 3/2]','knorm',n,100);
  a(count)=mean(Da);
  s(count)=mean(Ds);
  count=count+1;
end;

plot(ss,a,'y');
hold on;
plot(ss,s,'c');  
  