How to generate a date vactor of weekly intervals.
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (1)
Andrei Bobrov
el 30 de Abr. de 2012
out = datenum(2012,3,31+ (0:7:7*99)',0,0,0);
Categorías
Más información sobre Dates and Time en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!