I have date and hour fomate like below
2007.01.01. 01
2007.01.01. 02
2007.01.01. 03
2007.01.01. 04
2007.01.01. 05
2007.01.01. 06
2007.01.01. 07
2007.01.01. 08
2007.01.01. 09
2007.01.01. 10
2007.01.01. 11
2007.01.01. 12
2007.01.01. 13
2007.01.01. 14
2007.01.01. 15
2007.01.01. 16
2007.01.01. 17
2007.01.01. 18
2007.01.01. 19
2007.01.01. 20
2007.01.01. 21
I would like to know how to define this into time vector.

 채택된 답변

Bhaskar R
Bhaskar R 2020년 1월 27일

0 개 추천

d_vect = datetime('2007.01.01. 01', 'Format', 'yyyy.MM.DD. HH');

추가 답변 (0개)

카테고리

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

태그

질문:

2020년 1월 27일

답변:

2020년 1월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by