How can I compute these forms and display the values for a,b,C, and d? My code is below.
% creates a graph with a line of best fit
rideData % contains arrays of data for climb and calories
figure(1);plot(climb, calories, "o");p = polyfit(climb, calories, 1);f = polyval(p, climb);hold onplot(climb, f);
Best Answer