Constructing the serial date vector

Hi everyone,
I want to construct a serial date vector in matlab that consider a period of 2 years with frequency 1-minute.
Can some of you help me, please?

 採用された回答

dpb
dpb 2014 年 10 月 18 日

0 投票

Ignoring whether there's a leapyear in the two,
dn=datenum(y0,m0,d0,0,[0:2*365*24*60].',0);
Add one more day to the day count if there is.

1 件のコメント

Quantopic
Quantopic 2014 年 10 月 18 日
thanks a lot dpb.

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

その他の回答 (0 件)

カテゴリ

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

質問済み:

2014 年 10 月 18 日

コメント済み:

2014 年 10 月 18 日

Community Treasure Hunt

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

Start Hunting!

Translated by