Curve Fitting
Objective: clc clear all close all %% Loading the data load('data'); temperature = data(:,1); cp = data(:,2); % The given data figure(1) plot(temperature,cp,'linewidth',1,'color','r') grid on grid minor hold on %% Fitting the data for linear order [coeff1,S1] = polyfit(temperature,cp,1); [predicted_cp1, delta1] = polyval(coeff1,…