Borrar filtros
Borrar filtros

Missing data values in a matrix

1 visualización (últimos 30 días)
Breylla Carvalho
Breylla Carvalho el 10 de Nov. de 2017
Respondida: Sean de Wolski el 10 de Nov. de 2017
Hi everyone!
I have a problem: I have a timeserie that is supposed to have hourly values of sea level, but there are some gaps in those. As I'm supposed to make some analysis, I need to build a matrix with the values I have and also the NaNs respected to the gaps. How can I make this?
Regards!
  2 comentarios
Birdman
Birdman el 10 de Nov. de 2017
How did you obtain the data? From simulink or somewhere else?
Breylla Carvalho
Breylla Carvalho el 10 de Nov. de 2017
Somewhere else (GLOSS program). I have the date (year, month, date, hour), that I converted by datenum, and the values of sea level.

Iniciar sesión para comentar.

Respuestas (1)

Sean de Wolski
Sean de Wolski el 10 de Nov. de 2017
Create a timetable and look at the retime, fillmissing functions.
doc timetable
doc retime
doc fillmissing

Categorías

Más información sobre Dates and Time 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