# MATLAB: I have 2 time based traces of Current with varrying time stamps from each device ploted and would like to calculate the difference between the 2 traces in time The matrices are not equal and the time stamps are not equal

q(1)

Data1Intrp = interp1(Time1, Data1, Time2, 'linear', 'extrap');      % Interpolates ‘Data1’ To ‘Data2’ Time Base