Azzera filtri
Azzera filtri

daysadd Matrix Business calendar formats

3 visualizzazioni (ultimi 30 giorni)
Hi world,
I have a very basic question. from a date vector I would like to create a matrix increasing from one to thirty years. The vector has been created with the function bdates = busdays(sdate, edate, bdmode)
Would you have any thoughts? Regards,

Risposta accettata

Stalin Samuel
Stalin Samuel il 26 Nov 2015
sdate = '26 DEC 2015';
edate = '26 DEC 2045' ;
bdmode ='D';
vec = datestr(busdays(sdate,edate,bdmode))

Più risposte (0)

Categorie

Scopri di più su Dates and Time in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by