Given a set of measurements of dependent variables in a vector, Y, that vary with one independent variable in a vector, X, calculate the interpolating polynomial using Newton interpolation. Output is the interpolated value for a given value of x, as well as the vector of divided differences, b, that are the coefficients of the Newton polynomial.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more