matlab code to fit a linear and cubic polynomial for the Cp data given
Objective: The code for the linear and cubic polynomial for the Cp of data is as follows: close allclear allclc %data preparingcp_data = load(\'data\');temperature = cp_data(:,1);cp = cp_data(:,2); %curve fit%cp=a*t^2 + b*t + ccoeff= polyfit(temperature,cp,1);%cp for the linaer polynomialpre_cp= polyval(coeff,temperature); %plotting…