Problem 1017. Lagrange Interpolation

Created by Robert Canfield in Community

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.

Solution Stats

36.67% Correct | 63.33% Incorrect
Last solution submitted on May 08, 2019

Problem Comments