How to create a single array with datetime range?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
BN
am 29 Okt. 2019
Beantwortet: Sebastian Bomberg
am 29 Okt. 2019
Hello everyone
I want to create a single array (408 x 1) that filled monthly from 1982-01-01 to 2015-12-01.
like below:
1982-01-01
1982-02-01
1982-03-01
1982-04-01
.
.
.
2015-12-01
Thank you for any help you can provide.
0 Kommentare
Akzeptierte Antwort
Sebastian Bomberg
am 29 Okt. 2019
d = datetime(1982,1,1):calmonths(1):datetime(2015,12,1);
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!