Residuals.parabola: Projecting a given set of points onto an parabola
Description
Residuals.parabola projects a given set of points onto an
parabola and computing the distances from the points to the parabola
Usage
Residuals.parabola(XY,ParG)
Arguments
XY
array of sample data
ParG
vector 4x1 of the parabola parameters (Vertex(1:2), p, Angle)
Value
list(RSS, XYproj)
list with the Residual Sum of Squares and the array
of coordinates of projections
Source
Nikolai Chernov, 2014
Fitting ellipses, circles, and lines by least squares
http://people.cas.uab.edu/~mosya/cl/ N. Chernov, Q. Huang, and H. Ma, 2014
Fitting quadratic curves to data points
British Journal of Mathematics & Computer Science, 4, 33-60.