Question

Solution: ) The MATLAB commands used to enter v+lsID and c are:(enter commands in box) The Matlab command to find best linear fit is:(enter command in box) That is to

say that the best linear fit is given by y= _______with coefficients given to 4 dp (enter expression for best straight line fit). c) The Matlab commands to evaluate this line at the given x values are:(enter the missing polyval command arguments)(2 marks) The Matlab commands:» plot (x,y,", c,'o')>> títle(num2str(clock))

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5

Fig: 6

Fig: 7

Fig: 8