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 (ax_i+by_i+1)^2. }[/math]
This little JXSGraph application finds the line - described by homogeneous coordinates [a,b,1] - that minimizes