Question: Create a Matlab code (WITHOUT using any built-in functions i.e spline function) to construct a clamped cubic spline Q(x) that passes through the points (1,1)

Create a Matlab code (WITHOUT using any built-in functions i.e spline function) to construct a clamped cubic spline Q(x) that passes through the points (1,1) (4,1/4) (7,1/7) (10,1/10) (13, 1/13) and (16,1/16)

a) Use the constructed cubic spline to interpolate x = 3.

b) Find the error e2 = |1/3 - Q(3)|;

Can someone design a code without using built-in functions in MATLAB just by writing the code on your own?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!