DECOMPOSE_TIME-UnwrapordesegmentaconcatenatedrecordingintopiecesNEWTIMES=DECOMPOSE_TIME(TIMESTAMPS,TIME_INTERVALS)Decomposes/desegementstimestampsthatarefromaconcatenatedrecording.ItisassumedthatTIMESTAMPSareasetoftimestampsfromarecordingthathasbeenconcatenatedfrommanysmallerrecordings.ThebeginningandendtimesoftheconcatenatedrecordingsareprovidedinTIME_INTERVALS.EachrowofTIME_INTERVALSshouldhavethestartandstoptime(inthesameunitsasTIMESTAMPS)oftherecordingsthatcomprisetheconcatenatedrecordings.Example:myrecording1=[01];% first recording started at 0, ended at 1myrecording2=[23];% second recording started at 2, ended at 3% concaneted record of these recordings would have duration 2timestamps=[0.51.5];% event at 1.5 really occured at 2.5 units in real timenewtimes=decompose_time(timestamps,[myrecording1;myrecording2])