Generating a sequence of dates
조회 수: 3 (최근 30일)
이전 댓글 표시
HI all, I would like to ask if there is a way of generating the below sequence of dates.
'2/11/08'
'30/11/08' '
28/12/08'
25/01/09'
'22/02/09'
'22/03/09'
'19/04/09'
'17/05/09'
14/06/09'
AS you can see I have observations every 4-week period.
Thanks
댓글 수: 0
채택된 답변
the cyclist
2012년 5월 19일
Here's one way:
datestr(datenum('02/11/08','dd/mm/yy')+(0:28:224),'dd/mm/yy')
댓글 수: 3
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Time Series Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!