CURVE FITTING using MATLAB
Objective: In this program i have written a program for linear and cubic fit . The errors found are noted as 20.9318 for linear and 9.6525 for cubic But if we cannot use higher order of polynomials too because of \'Polynomial is badly conditioned\' this error . clear all close all clc %preparing the data cp_data=load(\'data\');…