class="comment">% Compares the solution of regular Least-squares:</span>
<span class="comment">%           minimize    sum(y_i - alpha - beta*t_i)^2</span>
<span class="comment">% to the solution of the following:</span>
<span class="comment">%           minimize    sum( phi_h (y_i - alpha - beta*t_i)^2 )</span>
<span class="comment">% where phi_h is the Huber penalty function, (t_i,y_i) are data points in a</span>
<span class="comment">% plane.</span>

<span class="comment">% Input data</span>
randn(<span 