getdatasamples
Access timeseries data samples
Description
Note
The getdatasamples function applies to objects created
using the timeseries function. For information on getting
data from a timetable, which is
recommended over timeseries and
tscollection, see Select Times in Timetable.
tsdata = getdatasamples(
returns the data of a ts,ind)timeseries object ts
corresponding to the indices in ind. The data in
tsdata corresponds to the time samples in
ts.time(ind).
Examples
Input Arguments
Version History
Introduced before R2006a