Question: MATLAB - PLEASE HELP 5. (a) Write a matlab program to interpolate r = | -5 -4 -3 -2 y = [ -0.1923 -0.2353 -0.30

MATLAB - PLEASE HELP

MATLAB - PLEASE HELP 5. (a) Write a matlab program to interpolate

5. (a) Write a matlab program to interpolate r = | -5 -4 -3 -2 y = [ -0.1923 -0.2353 -0.30 -0.40 -1 0 1 2 -0.50 0.00 0.50 0.40 3 4 5 ]. 0.30 0.2353 0.1923 ]. (b) Calculate error at the interpolated values at x = -4.5, -3.5,..., 3.5, 4.5 compared with the exact function f(x) = x/(22+1). Are these errors reasonable? (c) Plot the exact function, the interpolating polynomial and the node points on the same graph. Where is the error the largest? Comment

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!