Question: Write a MATLAB function that accepts ( n +1) values of x i and y i , fits n th order polynomial, evaluate it for
Write a MATLAB function that accepts (n +1) values of xi and yi , fits nth order polynomial, evaluate it for certain x value using Lagrange Interpolating Polynomial, and returns the value of y at x .
Call this function from the command window with the data given below, evaluate y at x=7 , and capture the image of the output.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
