Question: Create a MATLAB function to perform Lagrange Interpolation. Your function will be used in the Command Window as illustrated below: >> Xa = Lagrange (x,

Create a MATLAB function to perform Lagrange Interpolation. Your function will be used in the Command Window as illustrated below: >> Xa = Lagrange (x, y, Ya) where "x" is a vector of n+1 independent data values, "y" is a vector of n+1 dependent data values corresponding to "x", and "Ya" is an arbitrary value at which your function will return the interpolated value "Xa
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
