Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 into code. Thanks for any help. 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
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 into code. Thanks for any help.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started