Plot timeseries for mean monthly temperature

回答 (2 件)

Star Strider
Star Strider 2022 年 11 月 22 日

0 投票

Create a timetable of your data and then use the retime function.
cr
cr 2022 年 11 月 22 日
編集済み: cr 2022 年 11 月 22 日

0 投票

Try this.
xdata = datenum(dataClean(1:3)');
ydata = dataClean(4,:)';
plot(xdata,ydata);
datetick x
Cheers

1 件のコメント

Clickme26
Clickme26 2022 年 11 月 22 日
it reads error the vectors must be the same legth

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeTime Series についてさらに検索

質問済み:

2022 年 11 月 22 日

コメント済み:

2022 年 11 月 22 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by