Question: TASK 2 [2 MARKS L08] Data for metabolic rate as a function of mass is provided below. It is believed that the data follows the

 TASK 2 [2 MARKS L08] Data for metabolic rate as a

TASK 2 [2 MARKS L08] Data for metabolic rate as a function of mass is provided below. It is believed that the data follows the power relationship. i.e. metabolism-? mass where ? and ? are coefficients Animal Cow Human Sheep Hen Rat Dove Mass (kg) 400 70 45 2 0.3 0.16 Metabolism (watts) 270 82 50 4.8 1.45 0.97 A. Use the polyfit() function in MATLAB to determine the non-linear coefficients and r2 value. Print the non-linear equation and r2 value using fprintf. Plot the data as red diamonds. Then use the non-linear function to interpolate/extrapolate the metabolic rate values for the mass values starting from Okg to 500kg. Plot this as a blue line on the same figure. Also, determine the metabolic rate of a 200kg tiger and plot this as a black diamond on the same figure. Use sprintf to print the non-linear equation into the title of the plot. B. TASK 2 [2 MARKS L08] Data for metabolic rate as a function of mass is provided below. It is believed that the data follows the power relationship. i.e. metabolism-? mass where ? and ? are coefficients Animal Cow Human Sheep Hen Rat Dove Mass (kg) 400 70 45 2 0.3 0.16 Metabolism (watts) 270 82 50 4.8 1.45 0.97 A. Use the polyfit() function in MATLAB to determine the non-linear coefficients and r2 value. Print the non-linear equation and r2 value using fprintf. Plot the data as red diamonds. Then use the non-linear function to interpolate/extrapolate the metabolic rate values for the mass values starting from Okg to 500kg. Plot this as a blue line on the same figure. Also, determine the metabolic rate of a 200kg tiger and plot this as a black diamond on the same figure. Use sprintf to print the non-linear equation into the title of the plot. B

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!