plot excel data in MATLAB

조회 수: 1 (최근 30일)
Nicolas Alfred
Nicolas Alfred 2022년 6월 23일
편집: Nicolas Alfred 2022년 6월 24일
Hi, everyone
I'm trying to plot excel data in MATLB.
The problem is in time data.
I have 2 rows of time data and 2rows of numerical data.
In Excel for example, I wrote time data like 2022-03-01 0:02:46 but all the time data changed to 1899-12-31 0:02:46.
this is raw excel data
and this is what I opened in MATLAB.
I don't know what to do.. tell me plz..
  댓글 수: 2
Dyuman Joshi
Dyuman Joshi 2022년 6월 23일
How did you import the data? Also, can you attach your data here?
Nicolas Alfred
Nicolas Alfred 2022년 6월 24일
Hi Dyuman, I put it in my MATLAB file and I double clicked the Excel file to change 2rows of data type(decltime, incltime) (double type to datetime type)

댓글을 달려면 로그인하십시오.

답변 (1개)

Sam Chak
Sam Chak 2022년 6월 24일
On the Home tab, in the Variable section, click Import Data. Then choose how you want the selected data to be loaded on the Workspace.

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by