Question: PLEASE show how to do it in MATLAB, PLEASE include codes of matlab Question 1 (20%): Consider the points {(1,1),(2,2),(3,0),(4,2),(5,0)} a) (5%) Calculate a cubic
Question 1 (20\%): Consider the points {(1,1),(2,2),(3,0),(4,2),(5,0)} a) (5%) Calculate a cubic polynomial approximation using polyfit. a) (10%) Calculate a polynomial approximation using Lagrange. c) (5\%) Plot all approximations in the same plot including the data points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
