- The sample data file that shows the problem and
- The code you used.
Wrong Date format with Readtable for CSV
6 views (last 30 days)
Show older comments
Hello,
I am trying to import multiple csv files into matlab with Date/Time and other data to plot. READTABLE (including date/time format specified) works fine for data files which have dates greater than 13 but not for anything below 13 as it converts to different format irrespective of me defining the format upfront.
Can anybody help me to solve this issue.
10 Comments
dpb
on 29 Nov 2019
Will that impact the date formatting even though I am not using time column?
You can, of course, simply ignore the time column, but if you do all the data for the given day will be plotted on top of itself as a blob of points. If that's the intent, ok; if not, "not so much".
Answers (0)
See Also
Categories
Find more on Data Type Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!