How to generate a date vactor of weekly intervals.
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (1)
Andrei Bobrov
il 30 Apr 2012
out = datenum(2012,3,31+ (0:7:7*99)',0,0,0);
Categorie
Scopri di più su Dates and Time in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!