Navigation :
Top/MATLAB Practice 4
- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- MATLAB Practice 4 へ行く。
- 1 (2022-06-06 (月) 12:40:08)
Regression Analysis Problem . [#mf54545f] †
- 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
- Extrapolate the temperature 100 years from now from the obtained regression equation and plot it together with the data.
# polyval # plot, 'LineStyle', 'LineWidth'
- 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] †
- Sources.
- Format.
- Text format (3 columns X 5? lines: '%d %e $%e')
- Year Average wind speed Standard deviation