Question: Create a MATLAB subroutine called a. Lagrange.m that receives two set data points, x and y and plots the curve by interpolating the missing points

 Create a MATLAB subroutine called a. Lagrange.m that receives two set

Create a MATLAB subroutine called a. Lagrange.m that receives two set data points, x and y and plots the curve by interpolating the missing points (h-x_i-x_i-1=1) using Lagrange interpolation form. Create a main program that calls the subroutine and interpolate: a. (-1, 5) (0, 8), (3, -10), interpolate f(-0.5), f(1.25) and f(2.75)

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!