Some research data is provided to you for the purpose of


Some research data is provided to you for the purpose of learning to use Matlab features of polynomials and curve fitting, file name: mydata

You may load the data to your computer by typing mydata =load(‘path of the mydata').

The data contains three columns. The first column is the beak size of the chick, the second column is the beak size of the mother and the third column is the beak size of the father in an anthropology study.

1. Define the variables separately for each set of data.

2. Find the average beak size of the parent for each chick and put the data in a separate variable called ‘avgparents'.

3. Plot and label the chick's beak size vs. the average parent's beak size in a separate plot.

4. Find a linear fit and a polynomial fit of the second degree for the data in 3. Give the mathematical equation in each case. Plot the models and the data using two different markers and two different colors.

5 Use polyval to predict the chick beak size if the avgparent's beak size is 9.0:0.1:11 for the linear model.

6 Find the Mean square error between the model data (linear model) and the actual data.

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: Some research data is provided to you for the purpose of
Reference No:- TGS0593488

Expected delivery within 24 Hours