How do I split a time series?

30 visualizzazioni (ultimi 30 giorni)
Christelle van Antwerpen
Christelle van Antwerpen il 28 Giu 2017
Risposto: Peter Kövesdi il 13 Gen 2020
My time series contains the data from three different tasks. I would now like to split my time series in order to have a time series for each task. Unfortunately I have no idea where to start.
  2 Commenti
KSSV
KSSV il 29 Giu 2017
What's the dimension of time series? What 's the criteria to split?
William Chamberlain
William Chamberlain il 25 Feb 2018
For anyone else coming here from Google; copying data from a specific period in one timeseries into a new timeseries can be done with the getsampleusingtime function.

Accedi per commentare.

Risposte (1)

Peter Kövesdi
Peter Kövesdi il 13 Gen 2020
Another option is:
plot(getsamples(timeseries,ind))
where ind is the index of the samples you want.

Categorie

Scopri di più su Time Series in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by