Resample function changed for R2019b ?
21 views (last 30 days)
Semih Yikilmaz on 20 Nov 2019
I try to use the resample function as described here:
I've written the code on an older version of Matlab. It worked back then.
For R2019b however the function has a completely different syntax it seems.
Is there an alternative?
% resample Redefine a time series based on a new time vector.
% TS = resample(TS,TIMEVEC) resamples the time series object TS on the
% time vector TIMEVEC. When TIMEVEC is numeric, it is assumed to be
% specified relative to the TS.TimeInfo.StartDate property and in the same
% units as the time series TS uses. When TIMEVEC is an array of date
% strings, then it is used directly.
More Answers (1)
Priyanshu Mishra on 27 Nov 2019
Edited: Priyanshu Mishra on 27 Nov 2019
To resample time series time vector you may refer to following documentation page
The link you are referring to, requires signal processing toolbox. This will resample your uniform data to new fixed rate. So, there isn't any change in the new release.