Curve fitting
Objective: Code to fit a linear polynomial for the Cp data clear all close all clc % preparing data cp_data = load (\'data\'); temperature = cp_data (:,1); cp=cp_data (:,2); % curve fit % cp = a* T + b co_effs = polyfit (temperature,cp,1); predicted_cp = polyval (co_effs, temperature); % compare my curve fit with original data plot…