Curve Fitting Using MATLAB
Objective: OBJECTIVE To write a code to fit a linear and cubic polynomial for the Cp data and to Plot the linear and cubic fit curves along with the raw data points. PROGRAM Program for the calculation of the linear fit curve clear all close all clc %experimental values cp_data = load('data.txt') %temperature and specific heat(cp)…