% SAMP4       Repeated sampling for tri-variate NMDs.

count=1;

ss=[10:2:40,45:5:75,80:10:150];

for n=ss,
  n
  [Da,Ds]=repsnmd3(wlav,sigmalav,mulav,'knorm',n,10);
  a(count)=mean(Da);
  s(count)=mean(Ds);
  count=count+1;
end;

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