Curve Fitting
Objective: The project is to fit a linear and cubic polynomial for the Cp data. Program: close all; clear; clc; data = load('data'); temp = data(:, 1); cp = data(:, 2); %Curve fitting [linear_coeff,linear_sp,linear_mu] = polyfit(temp, cp, 1); [cubic_coeff,cubic_sp,cubic_mu] = polyfit(temp, cp, 3); [linear_pts, delta_linear]…