This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Time Series Collections

Create and modify collections of timeseries objects

A tscollection object is a collection of one or more timeseries objects with the same time vector. Collections of timeseries are useful for analyzing multiple data trends that occur simultaneously.


expand all

tscollectionCreate tscollection object
addsampletocollectionAdd sample to tscollection
addtsAdd timeseries to tscollection
delsamplefromcollectionDelete sample from tscollection
horzcatHorizontally concatenate tscollection objects
removetsRemove timeseries from tscollection
resampleResample tscollection time vector
setSet tscollection properties
setabstimeSet tscollection times as date character vectors
settimeseriesnamesRename timeseries in tscollection
vertcatVertically concatenate tscollection objects
getQuery tscollection properties
getabstimeConvert tscollection time vector to cell array
getsampleusingtimeSubset of tscollection data
gettimeseriesnamesNames of timeseries in tscollection
isemptyDetermine if tscollection is empty
lengthLength of tscollection time vector
sizeSize of tscollection


Time Series Objects

There are two types of time series objects in MATLAB®, a timeseries object and a tscollection object.

Related Information