Here we apply the polynomial (Lagrange or Newton) interpolation algorithm to the given data values of a voltage-current characteristic of a zener diode (see figure again). Let us start with a few data values for negative voltages (where the voltage-current characteristic looks like a quadratic function):
We call the MATLAB function "LagrangeInter" (download the file and try it in MATLAB Command Window) for the Lagrange interpolation or the MATLAB function "NewtonInter" (download the file) for the Newton interpolation. In either the case, we obtain the following output (click the image to enlarge):
The interpolating polynomial has degree four for five data points. The polynomial interpolation is very good here because the graph resembles a lower-order polynomial. However, what if we want to interpolate the voltage-current characteristics for intermediate ranges, e.g. for data values:
In this case, the polynomial interpolation is not too good because of large swings of the interpolating polynomial between the data points:
The interpolating polynomial has degree six for the intermediate data values and may have five extremal points (maxima and minima). Indeed, all five extrema show up in this polynomial interpolation leading to a polynomial wiggle. Let us finally take into account all given data: 18 data values. The polynomial interpolation shown below is really awkward: the error is so huge that the interpolating polynomial has nothing in common compared to the original voltage-current characteristic. Thus, the polynomial wiggle make appearance of higher-order polynomials unacceptable for data interpolation.