Use MATLAB to find the coefficients of the cubic polynomial y = ax3 + bx² + cx + d that passes through the three points
Posted: Mon May 16, 2022 2:09 pm
Use MATLAB to find the coefficients of the cubic polynomial y = ax3 + bx² + cx + d that passes through the three points (x, y) = (1, 4), (4, 73), (5, 120). Store your result in a vector named coeff. Discuss your solution and indicate whether a solution exists, if so, say whether it is an exact solution or a least-squares solution. Plot the polynomial with the coefficient you found along with the given points on the same plot.