MATLAB: How to convert time in nanosecond to numeric value in order to be able to compare these timeseries

nanosecondsnumerictimetimeserias

Hello,
I have the number of *.csv files that are same structure (same column number), but row numbers are different. I use readtable to upload data to matlab. I need to compare timeseries of different csv files. The example of timeseries:
'08:34:37.762296992'
'08:34:37.762450580'
'08:34:37.762450580'
'08:34:37.762460422'
'08:34:37.762460422'
'08:34:37.762472108'
'08:34:37.762472108'
'08:34:37.762543205'
'08:34:37.762543205'
'08:34:37.762673812'
How to convert this type to timeseries to numeric value in order to be able to compare them?

Best Answer

T=readtable('mycsv.csv')
datetime(T{:,1},'InputFormat','HH:mm:ss.SSS') %highly recommended