Constructing the serial date vector

1 vue (au cours des 30 derniers jours)
Quantopic
Quantopic le 18 Oct 2014
Commenté : Quantopic le 18 Oct 2014
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?

Réponse acceptée

dpb
dpb le 18 Oct 2014
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 commentaire
Quantopic
Quantopic le 18 Oct 2014
thanks a lot dpb.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Time Series Objects dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by