Question: above are the question to write a MATLAB code without using spline function. this photo below shows how the f matrices should look like after






above are the question to write a MATLAB code without using spline function. this photo below shows how the f matrices should look like after writing n, n-1 , n-2 equations. before finding the P and B matrices we need F matrices. can you also send the pics of failed plots too.

Rules: you cannot use the built in MATLAB spline function and you cannot look at or copy any code other than what is provided to you in this document No Assume you are given a set of independent (x) and dependent (Y) data points and you want to interpolate the values of the data between the given points X = [X1,X2,X3, X4] For this data, the length is n = 4 You will need n-1 3 estimation functions (1 between each set of data points) For cubic spline interpolation, these estimation functions look like: We can use the conditions for cubic spline interpolation covered in class to get the following set of linear equations (shown here in matrix form) 0 -2x 0 3x3223 10 6x2 0 -6X32 F4 F5 F6 F7 F 8 FS
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
