Navigation :
Top/MATLAB Practice 4
MATLAB Practice 4
- 追加された行はこの色です。
- 削除された行はこの色です。
- MATLAB Practice 4 へ行く。
- MATLAB Practice 4 の差分を削除
#author("2022-06-06T12:40:08+09:00","default:mori","mori") * Regression Analysis Problem [#o136b05b]. [#mf54545f] #author("2022-06-06T12:40:16+09:00","default:mori","mori") * Regression Analysis Problem [#vee95001] + 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 [#i5242af4]. [#z895a88f] * Data [#fc7bc520] - Sources. -- [[North Pacific mean wind speed over the last 50 years>Home:files/education/windspeed.dat]] - Format. -- Text format (3 columns X 5? lines: '%d %e $%e') -- Year Average wind speed Standard deviation