How do I split a time series?
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
William Chamberlain
le 25 Fév 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.
Réponses (1)
Peter Kövesdi
le 13 Jan 2020
Another option is:
plot(getsamples(timeseries,ind))
where ind is the index of the samples you want.
0 commentaires
Voir également
Catégories
En savoir plus sur Time Series dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!