Navigation : Top/MATLAB Practice 4

Regression Analysis Problem . [#mf54545f]

  1. Find the coefficients of the linear and quadratic regressions from the North Pacific mean wind speed data using the least squares method.
    # textread or fscanf
    # polyfit 
  2. Extrapolate the temperature 100 years from now from the obtained regression equation and plot it together with the data.
    # polyval
    # plot, 'LineStyle', 'LineWidth'
  3. Indicate the names of the x- and y-axis coordinates and the type of line in the plot. The font should be Times and the size should be 14 points (keep this format for the following questions).
    # xlabel, ylabel, legend
    # set(gca,'FontSize',14,'FontName','Times')
      -> 'gca' refers to the currently used coordinate axis

Data . [#z895a88f]