What if the RHS of the first equation was considered to likely
to contain strong errors..with a variance of 22. To accomodate this
error we might premultiply the system of equations by a diagonal-like
matrix W=[1/22 0 0;0 1 0; 0 0 1], where the 1st equation has
been down weighted
by the inverse variance. Try down weighting other
rows by adjusting values of W and rerun MATLAB script below.
W=[1/22 0 0;0 1 0; 0 0 1] ;L=W*L;t=W*t;
s=inv(L'*L)*L'*t;
x=[-5:5];for i=1:3;plot(x,(t(i)-L(i,1)*x)/L(i,2));hold on;end
xlabel('x');ylabel('y');plot(s(1),s(2),'*');
hold off;axis([-5 5 -5 5]);