Filing/interpolation of irregular sample time series multivariate data

7 vues (au cours des 30 derniers jours)
B
B le 7 Déc 2019
Commenté : Star Strider le 7 Déc 2019
Hello,
I have an irregular time series sample data with multiple variables, and I would like to fill in the gaps (filling or interpolation) to get daily data for all the variables at one interpolation. The data is a attached.
Can anyone be of help, please?
Ed

Réponse acceptée

Star Strider
Star Strider le 7 Déc 2019
Try this:
T1 = readtable('Edward Bam Eddata.txt');
T2 = table2timetable(T1, 'RowTimes','TimeStamp');
T3 = retime(T2, 'daily','linear'); % Desired Result
See the documentation on the retime function for additional options for the interpolation.
Avoiding the intermediate steps using readtimetable is also an option. I chose to do the intermediate steps so that I could see them, since I was unfamiliar with your file.
  4 commentaires
B
B le 7 Déc 2019
Yep, thanks.
Star Strider
Star Strider le 7 Déc 2019
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (1)

shadman khan
shadman khan le 7 Déc 2019
firstly i am not an exxpert
but simple help for you is :cftool matlab
it has multiple variable regression
  1 commentaire
B
B le 7 Déc 2019
Hello shadman khan , Thanks for the attempt...the second answer works perfectly...you wana try it?

Connectez-vous pour commenter.

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!

Translated by