Write a MATLAB code to best fit a power model of an equation:
𝑦=𝑎𝑥^𝑏 to the following statistical data.
a) Draw on one figure both the given statistical data and the best fitted curve that you were able to find, use corresponding commands to make your drawing clear.
b) print out the equation of the function after finding parameters
a & b.
c) Find the standard deviation, standard error of estimate and the
correlation coefficient, then print them out.
d) If the Standard error of estimate was smaller than standard
deviation print out: “The linear Regression has a merit and extent of
improvement quantified by [corresponding value of coefficient of
determination(r^2)], otherwise "The Linear Regression fails to find a
fit".