Least-squares line fitting
From JSXGraph Wiki
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]
This little JXSGraph application finds the line - described by homogeneous coordinates [a,b,1] - that minimizes