Question: In a MATLAB program, hard code ten points of the form (x,y). Do the following: A) In one graph show the data, the linear interpolation,
In a MATLAB program, hard code ten points of the form (x,y). Do the following:
A) In one graph show the data, the linear interpolation, and the cubic spline interpolation.
B) Ask the user for another piece of data, xi and compute the linear interpolation and cubic spline interpolation, yi, for that data.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
