How to generate a date vactor of weekly intervals.
Afficher commentaires plus anciens
Hello,
How can I generate a date vactor in which I know the start date let say end of last month (03/31/2012) and I know the frequency say weekly and I know how many rows I want let say 100 rows.
Réponse acceptée
Plus de réponses (1)
Andrei Bobrov
le 30 Avr 2012
out = datenum(2012,3,31+ (0:7:7*99)',0,0,0);
Catégories
En savoir plus sur Dates and Time dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!