silly question.
how to create time series vector for a period of one specific date(say 2 February 2010) to some specific date(11 November 2010) with an interval of one second, one minute, 1 hour,3 hours etc?

 採用された回答

Stephen23
Stephen23 2018 年 5 月 21 日
編集済み: Stephen23 2018 年 5 月 21 日

1 投票

t1 = datetime(2010,02,02);
t2 = datetime(2010,11,11);
t1:seconds(1):t2
t1:minutes(1):t2
t1:hours(1):t2
t1:hours(3):t2

1 件のコメント

pruth
pruth 2018 年 5 月 21 日
Aaahaaa !!! fantastic. thanks. life is so easy.

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

その他の回答 (0 件)

カテゴリ

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

質問済み:

2018 年 5 月 21 日

コメント済み:

2018 年 5 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by