How can I retrieve data from cdfepoch objects into datetime ?
4 ビュー (過去 30 日間)
Tagnon Privael Okoumassoun 2023 年 2 月 13 日
I am working on some data with the following formatting:
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 件)
Soniya Jain 2023 年 2 月 16 日
You can refer to the following documentation to create a "datetime" array:
You can also refer to the following documentation to plot date and time data:
Lei Hou 2023 年 3 月 24 日
data = cdfread('yourfile.cdf', 'DatetimeType', 'datetime');
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!