about addtodate function using?
显示 更早的评论
datevec(addtodate(datenum(['1/1/2008']),102,'day'))
ans=
2008 4 12 0 0
datevec(addtodate(datenum(['1/1/2008']),103,'day'))
ans=
2008 4 12 23 0
the second ans , why not 2008 4 13 0 0 ??
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Report Generator Utilities 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!