Tutorial by Examples

Assume you have formatted data in a large text file or string, e.g. Data,2015-09-16,15:41:52;781,780.000000,0.0034,2.2345 Data,2015-09-16,15:41:52;791,790.000000,0.1255,96.5948 Data,2015-09-16,15:41:52;801,800.000000,1.5123,0.0043 one may use textscan to read this quite fast. To do so, get a f...
Converting date and time strings to numeric arrays can be done with datenum, though it may take as much as half the time of reading a large data file. Consider the data in example Textscan. By, again, using textscan and interpret date and time as integers, they can rapidly be converted into a numer...

Page 1 of 1