Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Question 4. Consider the data in the following table z|-1 | -0.96 | -0.86 |-079 | 0.22 | 0.50 | 0.93 y0.1510.894 0.986 0.895 0.500
Question 4. Consider the data in the following table z|-1 | -0.96 | -0.86 |-079 | 0.22 | 0.50 | 0.93 y0.1510.894 0.986 0.895 0.500 0.306 (a) Written: Which pair of points would you use to estimate y(0.75) using a linear interpo- lation? Estimate y(0.75) via near interpolation using your chosen points. (b) MATLAB: Using appropriate MATLAB commands and scripts, construct an exact poly- nomial fit, a quadratic least-squares fit, and a cubic spline fit (with MATLAB's default not a-knot conditions) to the above data. Estimate y(0.75) according to each method of curve fitting. Plot the original data, the two-point linear fit from question 4, part (a), the exact polynomial, least-squares quadratic and the cubic spline on the same graph using appopriate line styles. (c) Written: With reference to the graph generated for part (b), which curve (or curves) best. reflect the general shape of the data (giving reasons)
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