Question: ECP 2 . Spline you name Write your name initial in cursive on graph paper ( you ' ll need to write it rather large
ECP Spline you name
Write your name initial in cursive on graph paper youll need to write it rather large Select as
many points as you wish in the letter that best "define" the letter letters with extra strokes, t i j
and require extra care Write down, in order, the and coordinates of each of the points.
Created a userdefined, generalized cubicspline interpolation function to reconstruct your name
from the measured coordinates. The generalized function must:
Handle any number of data points
Apply the cubicspline interpolation
Have the interface: ytarget, C MyCubicSpline x y xtarget
where:
: coordinate for all points
: coordinate for all points
target: coordinate for a specific coordinate between minimum and
maximum
ytarget. corresponding to target calculated using the appropriate polynomial
from the cubicspline interpolation
C: array of all the coefficients of the interpolating polynomials.
Create a plot of the reconstruction.
Find the interpolating cubic spline polynomials
Evaluate the polynomials for other points
Plot the resulting curve
If you prefer using a different letter, please feel free to do so
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
