Matlab code for fitting a linear and cubic polynomial for the Cp data & Plotting the curves along with the raw data points.
Objective: Problem Statement: Matlab code for fitting a linear and cubic polynomial for the Cp data & Plotting the curves along with the raw data points. Given Data: 'data' file (which contain actual temperature & cp value) Step Wise explanation: Main Program % Step 1 % Clearing workspace, command window & closing…