Question: Please help me with the Matlab code. Thanks in advance Write a Matlab function, called Lagrange_poly that inputs a set of data points datx and

Please help me with the Matlab code. Thanks in advance Write aPlease help me with the Matlab code. Thanks in advance

Write a Matlab function, called Lagrange_poly that inputs a set of data points datx and daty, a column vector x at which to interpolate, and outputs the polynomial interpolant, y (a column vector), evaluated at x using Lagrange polynomial interpolation as well as the Lagrange polynomials L. Your function header should look something like: function [y, L] = Lagrange_poly(x, datx, daty)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!