Curve fitting for linear and cubic polynomial using matlab
Objective: Aim- to study the linear and cubic polynomial and its curve fitting with the help of Matlab. Objective- 1- write a code to plot a graph for the linear and cubic polynomial equation. 2- write a code to calculate the value of R^2. 3- write a code to plot the best fit graph b/w original data and linear data also for cubic…