Borrar filtros
Borrar filtros

Filing/interpolation of irregular sample time series multivariate data

4 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Star Strider
Star Strider el 7 de Dic. de 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 comentarios

Iniciar sesión para comentar.

Más respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Preprocessing Data en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by