Curve Fitting
Objective: clc clear all close all %Loading of Data% A = load(\'E:\\Matlab_Cracked\\bin\\Curve_fitting\\data.txt\'); temp = A(:,1); cp = A(:,2); % Determine the Coefficients and fit the curve deg = input(\'Degree of Poynomial\',\'s\') if (str2num(deg)>0 ) p= polyfit(temp,cp,str2num(deg)); predict_cp = polyval(p,temp); % Calcultion…