Is there a way, given a set of values (x,f(x)), to find the polynomial of a given degree that best fits the data?
(x,f(x))
I know polynomial interpolation, whic
The lagrange polynomial is in some sense the "simplest" interpolating polynomial that fits a given set of data points.
It is sometimes problematic because it can vary wildly between data points.