Question: The Gauss function mentioned in the problem statement simply solves the matrix equation Ax=b. I have that portion already, Im quite lost on implementing splining
Problem 3 (20 points) Develop a Matlab function myCubicSplineCoeffs that calculates the cubic spline coefficients a, b, er, and di of the cubic spline that interpolates data given in two equal length vectors x and y that are passed into the function. The function shall store in a global variable named mySplineABCD the spline coeficients for all intervals in a two-dimensional array of size n- 1 by 4, where n is the number of (, ) data pairs, and in a global variable mySplineXdata the r, values of the data points. Use Problem 2 to help you debug your code, if needed. Use myGauss JordanPartialPivot to solve the system of linear equations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
