Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write it by hand and then by Matlab please!!!! HW7_3 (handwork & MATLAB) For the following data x-401 2 3 y-10 3825 52 36 a)
Write it by hand and then by Matlab please!!!!
HW7_3 (handwork & MATLAB) For the following data x-401 2 3 y-10 3825 52 36 a) b) Plot the data points with a circle marker Plot the unique interpolating polynomial (passes exactly through each point) and print the equation of the polynomial (in the form y anXax+ ...+aix + ao) to t screen using fprintf. Write it on your paper as well. Don't use polyfit& polyval for this probler use the backslash & function handle Plot the linear splines between each pair of points and compute the linear spline equation for each segment by hand. Include the domain. c) d) Plot the "not-a-knot" cubic spline. Make sure b,c & d are shown in different colors. Include a legend on the graphStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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