Effacer les filtres
Effacer les filtres

Synchronise two time series

1 vue (au cours des 30 derniers jours)
tilfani oussama
tilfani oussama le 1 Mar 2018
I have two dated time series, i import the with readtable command, i would like to synchronize them. taking only values with equal dates, can someone tel howw we can do it. Bests

Réponse acceptée

Star Strider
Star Strider le 1 Mar 2018
The R2016a synchronize (link) or the timeseries version of synchronize (link) appear to be appropriate to your problem.
  2 commentaires
Star Strider
Star Strider le 2 Mar 2018
tilfani oussama’s Answer moved here: (02 Mar 2018 10:00UCT)
Thank you for your reply, i have a matlab 2015a, so i would like to know if possible to synchronize two time series with. Bests
Star Strider
Star Strider le 2 Mar 2018
My pleasure.
The datetime and related functions introduced in R2016a make these significantly easier.
My only suggestion would be to use the ismembertol (link) introduced in R2015a on the date numbers (use datenum) derived from the date (and time) vectors.

Connectez-vous pour commenter.

Plus de réponses (1)

tilfani oussama
tilfani oussama le 2 Mar 2018
Can you give more elements, i tried with but i fail, please find attached my series

Catégories

En savoir plus sur Calendar 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!

Translated by