iers in the data</span>
p        = .2;   <span class="comment">% percentage of data to contaminate</span>
a        = 1e6;  <span class="comment">% amplitude of noise</span>
seed     = 1;    <span class="comment">% random see</span>

<span class="comment">% function handles to misfits used for residual and source estimation</span>
fh1      = @(x)students(x);
fh2      = @(x)twonorms(x);

<span class="comment">% number of iterations for L-BFGS</span>
maxiter  = 50;

<span class="comment">%%%%%%%%%%%%%%%%%%%%%%