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,

 채택된 답변

Stalin Samuel
Stalin Samuel 2015년 11월 26일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Calendar에 대해 자세히 알아보기

질문:

2015년 11월 26일

답변:

2015년 11월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by