Import date into Matlab
이전 댓글 표시
I am trying to import an excel file to Matlab but it is importing date wrong. The original file looks as follows:
1947-04-01 0.064049 1947-07-01 -0.018689 1947-10-01 -0.046279 1948-01-01 -0.023242 1948-04-01 0.009531 1948-07-01 0.034058
I save it as data_jmp.xlsx. When I import it using xlsread it gives me :
T = xlsread('data_jmp.xlsx')
T =
1.0e+04 *
1.5706 0.0004
1.5796 0.0004
1.5887 0.0004
1.5979 0.0004
1.6071 0.0004
1.6162 0.0004How do I convert these numbers into the initial dates? Then I need to plot the second column versus the first column.
답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!