plot excel data in MATLAB

3 visualizaciones (últimos 30 días)
Nicolas Alfred
Nicolas Alfred el 23 de Jun. de 2022
Editada: Nicolas Alfred el 24 de Jun. de 2022
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 comentarios
Dyuman Joshi
Dyuman Joshi el 23 de Jun. de 2022
How did you import the data? Also, can you attach your data here?
Nicolas Alfred
Nicolas Alfred el 24 de Jun. de 2022
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)

Iniciar sesión para comentar.

Respuestas (1)

Sam Chak
Sam Chak el 24 de Jun. de 2022
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.

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by