span>
K = length(yhat);
xs = 0:0.1:1;
styles = {<span class="string">'k-.'</span>, <span class="string">'b--'</span>, <span class="string">'r-'</span>, <span class="string">'g:'</span>};
figure; hold <span class="string">on</span>;
plot(x,y,<span class="string">'ko'</span>,<span class="string">'linewidth'</span>,2)
h = [];
<span class="keyword">for</span> i=1:K
  h(i) = plot(xs, yhat{i}, styles{i}, <span class="string">'linewidth'</span>, 3, <span class="string">'markersize'</span>, 10);
<span class="keywor