Project

CURVE FITTING

Objective: close all clear all clc cp_load=load(\'data\') temperature=cp_load(:,1); cp=cp_load(:,2); %linear: cp=a*T+b %cubic polynomial: cp=a*T^3+b*T^2+c*T+d coeffs1= polyfit(temperature,cp,1); predicted_cp1=polyval(coeffs1,temperature); coeffs= polyfit(temperature,cp,3); predicted_cp=polyval(coeffs,temperature); %plotting plot(temperature,cp,\'linewidth\',2,\'color\',\'g\')…

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.