How to create a data vector on matlab by starting from a specific date.
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello
I would like to create a data vector for a time series. I just want to create the data part o the time series by specific the start date and hour of the time series with a delta T of one hour (I don't need minutes or seconds). What is the best matlab function to use for this?
I could not find it easily on the time series documentation.
Thank you
댓글 수: 0
채택된 답변
per isakson
2014년 3월 11일
편집: per isakson
2014년 3월 11일
With this approach, one need to worry less about floating point errors
sdn = datenum( 2014, 1, 1, [0:1:1000], 0, 0 );
댓글 수: 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!