Resample timeseries time vector
tsout = resample(
resamples tsin,timevec,interpmethod)tsin using a specified interpolation method.
interpmethod can be 'linear' for linear
interpolation or 'zoh' for zero-order hold.
tsout = resample(
applies the quality codes in tsin,timevec,interpmethod,code)code to all samples.