I have a csv file including a timestamp column. In Notepad, in Excel and in Matlab the value appears in scientific format, e.g. '1,44532E+12'. As such, the value is highly inaccurate. In Excel I can calculate the difference between 2 values and get a reasonable difference. Thus, the scientific format in Excel is just the format. The actual cell contents are '1445322672767'.
I'm puzzeled why the value appears as '1,44532E+12' in Notepad. But that's not my problem. I'm trying to analyse the data in Matlab, but I am unable to. I've tried textscan, readtable and csvread. But I'm unable to get the value other than as a string. With str2num this can be changed to a double, but only with 6 digit accuracy (which is completely useless).
Any suggestions?
textscanetc. or the program you use to open the exported file. You need to export with full precision from the start. See this question @ microsoft - Dev-iL