resample
Resample time vector in timeseries or
tscollection
Syntax
Description
Note
The resample function applies to objects created using
timeseries or tscollection. For
information on resampling a timetable, which is
recommended over timeseries and
tscollection, see retime.
tsout = resample(
resamples a time series or collection using a new time vector. The
tsin,timevec)resample function uses the interpolation method associated
with each time series.
tsout = resample(
resamples using a specified interpolation method. tsin,timevec,interpmethod)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.
Examples
Input Arguments
Version History
Introduced before R2006a
See Also
timeseries | tscollection | getinterpmethod | setinterpmethod | synchronize