Question: Please make it in MATLAB online 1. Create a MATLAB subroutine called Lagrange.m that receives two set data points, x and y and plots the
Please make it in MATLAB online
1. Create a MATLAB subroutine called Lagrange.m that receives two set data points, x and y and plots the curve by interpolating the missing points (h=xi-xi-1) using Lagrange interpolation form. 2. Create a main program that calls the subroutine created on problem 1 and compare results using the following data sets: a. (1,3) (4,7) b. (-15), (0, 8), (3,-10) C. (-10, -2), (4,5), (7,3), (12, 20)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
