Project

curve fitting

Objective: clear allclose allclc cp_data = load(\'data\');temperature = cp_data(:,1);cp = cp_data(:,2); % for linear polynomial % y = a*x+bco_effs1 = polyfit(temperature,cp,1)predicted_cp1 = polyval(co_effs1,temperature); % for cubic polynomial % y = a*x^3 + b*x^2 + c*x +dco_effs = polyfit(temperature,cp,3)predicted_cp…

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.