How do you import time and date data into matlab?

If you have the data in excel in this format:6/13/2013 14:45, how do you import it into Matlab as a string and keep the same format on matlab? Thank you for your help.

 Akzeptierte Antwort

Shashank Prasanna
Shashank Prasanna am 8 Jul. 2013

0 Stimmen

Use importdata or xlsread to pull data in. You can also use the import button on the tool strip if you are using a version of MATLAB > R2012b
You can represent your dates in date number format:

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by