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

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
Get step-by-step solutions from verified subject matter experts
