Examples

  1. Which line is the interpolation and which is the approximation to the five data points?

    Matlab Graph

    The straight line is the approximation and the curved line is the interpolation. The curved line is a 4th degree polynomial which exactly interpolates 5 data points. In general a N-1 degree polynomial always passes through N data points.