Timeseries plot for mean temperature
1 回表示 (過去 30 日間)
古いコメントを表示
この 質問 は Walter Roberson
さんによってフラグが設定されました
Can someone help me make a timeseries for the mean monthly temperature?
0 件のコメント
回答 (1 件)
Walter Roberson
2022 年 11 月 17 日
dsT = reshape(dataStruct.', [], 1);
DT = datenum([dsT.Year], [dsT.Month], ones(1, numel(dsT)));
MM = [dst.Mean];
ts = timeseries(MM, DT);
However, it is not recommended that you do any further development in timeseries objects. It is recommended that you use timetable objects instead.
dsT = reshape(dataStruct.', [], 1);
DT = datetime([dsT.Year], [dsT.Month], ones(1, numel(dsT)));
MM = [dst.Mean];
TT = timetable(MM(:), 'VariableNames', {'MonthlyMean'}, 'RowTimes', DT(:));
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Time Series についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!