Question: Problem 3 . 3 Consider interpolating the following periodic function on interval - , : f ( x ) = e a c o s
Problem
Consider interpolating the following periodic function on interval :
where is a given parameter that determines the smoothness of the function, and is a Bessel function
used for normalization purposes, available in MATLAB as besseli a Fix
We want to see if and how fast the interpolation error converges to zero as the number o interpolation points
increases, for several different types of interpolants.
a Plot in the same figure function and polynomial interpolants on evenly spaced points, where
Note that due to periodicity the values of the function at the first and last nodes will be
equal, but that the polynomial itself does not recognize the periodicity.
b Plot in the same figure function and piecewise linear interpolants on evenly spaced points,
where
c Plot in the same figure function and cubic periodic splines on evenly spaced points, where
d Compare these interpolants. For example, you can estimate the maximum error and present results in a
table. Also, you can plot the errors for, say
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
