Least-squares line fitting

From JSXGraph Wiki
Revision as of 19:39, 5 November 2010 by A WASSERMANN (talk | contribs)

This little JXSGraph application finds the line - described by homogeneous coordinates [a,b,1] - that minimizes

[math]\displaystyle{ \sum_{i=1}^n (a_ix_i+b_iy_i+1)^2. }[/math]