필터 지우기
필터 지우기

How to convert cdf epoch to date and time?

조회 수: 7 (최근 30일)
BenL
BenL 2015년 11월 14일
편집: BenL 2017년 6월 13일
I have a column of data which is in cdf epoch format. It contains date and time stamps Is there a simple way for me to convert and extract the date and time from the cdfepoch object ( data_import(:,1) ) and replace them into column 1? I am trying to plot data over time, cant seem to do this easily.

답변 (1개)

Reko Hynönen
Reko Hynönen 2017년 6월 12일
편집: Reko Hynönen 2017년 6월 12일
Sorry to revive an old topic, but I came here looking for an answer and didn't find it, as it has been left unanswered. I think I've solved the issue though.
I believe that todatenum function solves the problem nicely.
https://se.mathworks.com/help/matlab/ref/todatenum.html

카테고리

Help CenterFile Exchange에서 Time Series Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by