Least-squares circle fitting: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
brd.unsuspendUpdate(); | brd.unsuspendUpdate(); | ||
var M = [], y = [], MT, B, c, coeffs, len; | var M = [], y = [], MT, B, c, coeffs, len; | ||
len = p.length; | len = p.length; | ||
Line 26: | Line 26: | ||
coeffs = JXG.Math.Numerics.Gauss(B, c); | coeffs = JXG.Math.Numerics.Gauss(B, c); | ||
alert(coeffs.toString()); | alert(coeffs.toString()); | ||