tsout = getsamples(tsin,ind)
returns a timeseries object that is a subset of the input
timeseries. The samples in tsout are the
samples of tsin corresponding to
tsin.Time(ind).
Row or column indices, specified as a positive integer numeric scalar or
vector. ind represents column indices for column-oriented
data (ts.IsTimeFirst is true) and
represents row indices for row-oriented data
(ts.IsTimeFirst is false).
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.