all_fit.m 205 B

12345678
  1. function f=all_fit(aux)
  2. autoc_step=.002;
  3. autoc_bins=1:300;
  4. bins=(autoc_bins)*autoc_step*2; bins=bins(1:150);
  5. aux=mean(reshape(aux,[],150));
  6. aux=aux/max(aux);
  7. c=do_fit(bins,aux);
  8. f=c.f;