How can I retrieve data from cdfepoch objects into datetime ?
조회 수: 5 (최근 30일)
이전 댓글 표시
I am working on some data with the following formatting:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1293660/image.jpeg)
I am trying to plot some of the data like Column 7 over a certain time period which is the data contained in Column 2 cdfepoch object. I need some help storing the contents of column 2 into a variable as datetime elements. Thank you
댓글 수: 2
답변 (2개)
Soniya Jain
2023년 2월 16일
Hi,
You can refer to the following documentation to create a "datetime" array:
https://in.mathworks.com/help/matlab/ref/datetime.html
You can also refer to the following documentation to plot date and time data:
https://in.mathworks.com/help/matlab/matlab_prog/plot-dates-and-durations.html
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!