Project

Curve Fitting

Objective: AIM: To determine the code to fit a linear and cubic polynomial for the Cp data. CODE: clear all close all clc %preparing the data cp_data = load('data'); temperature = cp_data(:,1); cp = cp_data(:,2); %curve fit for 1 degree polynomial %cp = a*t + b co_effs1 = polyfit(temperature,cp,1); predicted_cp1 = polyval(co_effs1,temperature);…

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.