Least-squares line fitting

From JSXGraph Wiki
Revision as of 19:40, 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 (ax_i+by_i+1)^2. }[/math]