daysadd Matrix Business calendar formats
3 次查看(过去 30 天)
显示 更早的评论
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,
0 个评论
采纳的回答
Stalin Samuel
2015-11-26
sdate = '26 DEC 2015';
edate = '26 DEC 2045' ;
bdmode ='D';
vec = datestr(busdays(sdate,edate,bdmode))
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!