Question: Consider the function f ( x ) = ( 1 x 2 ) exp ( x 2 ) defined on the interval [ 3 ,
Consider the function
fx x
expx
defined on the interval and interpolated using Chebyshev nodes and the Barycentric
formula. The answer for this question should be in the form of a matlab script.
a Plot the function fx on a dense grid eg points
b On the same figure plot the order N Chebyshev nodes and the interpolant on the
same dense grid used in part aHint: use the matlab function cheby.m from Avenue.
c By what factor does the interpolation error at the point x decrease when the
order is doubled, from N to N
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
