Curve fitting in Matlab
Objective: Aim: Writing code to fit a linear and cubic polynomial for the Cp data. Formulas : These are the some of the formulas are used to check the goodness of fit: The maximum square error`J= 1/(2m)*∑_(i=1)^m(y_(i-) y Ì )^2` Sum square total`SST =∑_(i=1)^m (y_(i-) y Ì )^2` Sum square error`SSE = ∑_(i=1)^m(y_(i-)…