Multi-Delimited file
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
I have data in xls files and one of the rows looks like this: 1/1/09 0:21 The first have represents date and the second have represents time. when imported using xlsread is get a long number which means nothing I need the date and the time. Can some one help me please.
댓글 수: 2
Paulo Silva
2011년 3월 5일
post the code you are using and someone might tell you what your should improve or change.
faisal Mahmood
2011년 3월 5일
답변 (1개)
Walter Roberson
2011년 3월 5일
2 개 추천
datestr() that long number. But be sure to cross-check the result, as excel's time base is different than Matlab's. There is a relatively simple time conversion if needed. The offsets are documented here
댓글 수: 2
faisal Mahmood
2011년 3월 5일
Walter Roberson
2011년 3월 5일
Then datestr(ndata(T,C)) where C is the column number.
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!