Question

Write a MATLAB function to fit the data with the power model (y = ax') using linear least-squares regression. Use the resulting power equation to calculate y at x =

9. (Hint: linearize the model first).

Question image 1Question image 2