Question: 1. 5 points] Write a MATLAB user defined function (name it with your group number and something related to interpolation) which has three input arguments:

 1. 5 points] Write a MATLAB user defined function (name it

1. 5 points] Write a MATLAB user defined function (name it with your group number and something related to interpolation) which has three input arguments: the given data in the form of 1D arrays z, and fi, and any value of r, your MATLAB function will evaluate and return the value of the function at the input value of using Lagrange interpolation (so one output argument). There is no need for mapping in this. So interpolate without mapping. Your function also needs to check if the input a value is within the range of , (note that ri data need to be in ascending or descending orde!. If it is within the range, then display on the command window "interpolated value", otherwise display on the command window "extrapolated value" 1. 5 points] Write a MATLAB user defined function (name it with your group number and something related to interpolation) which has three input arguments: the given data in the form of 1D arrays z, and fi, and any value of r, your MATLAB function will evaluate and return the value of the function at the input value of using Lagrange interpolation (so one output argument). There is no need for mapping in this. So interpolate without mapping. Your function also needs to check if the input a value is within the range of , (note that ri data need to be in ascending or descending orde!. If it is within the range, then display on the command window "interpolated value", otherwise display on the command window "extrapolated value

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!