Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 1017. Lagrange Interpolation

Created by Robert Canfield

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 Lagrange interpolation. Output is the interpolated value for a given value of x, as well as the vector of Lagrange polynomial coefficients.

Problem Group

Solution Statistics

9 correct solutions 10 incorrect solutions
Last solution submitted on Oct 30, 2014

Problem Comments