x = [0,1,2,3,4,5,6,7,8];
y = [0,10,23,28,25,13,6,2,-5];
Spline interpolation, Use Matlab code
Write your own spline method to estimate the value of the function
on x ∈ [0,8],Δx = 0.1. For your 2 degrees of freedom, set the first
and second
derivatives at the left boundary to 0. Save your result, the
interpolated y values.(do not use Matlab's built-in spline
method