Least-squares line fitting: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 1: Line 1:
This little JXSGraph application finds the line - described by homogeneous coordinates [a,b,1] - that minimizes
This little JXSGraph application finds the line - described by homogeneous coordinates [a,b,1] - that minimizes
:<math> \sum_{i=1}^n (a_ix_i+b_iy_i+1)^2.</math>
:<math> \sum_{i=1}^n (ax_i+by_i+1)^2.</math>





Revision as of 19:40, 5 November 2010

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]