% m11_leastsquares3.m - least-squares by three methods t = 2*pi*(1:1000)'/1000; b = t/5 + (t