Correct database - fill missing data

1 visualización (últimos 30 días)
Nuno Bouça
Nuno Bouça el 30 de Mzo. de 2015
Comentada: Neil Rodrigo Gómez el 20 de Nov. de 2017
I have a database on the temperature for a day (every hour).
The problem (where I need help) is to fill in the missing values (values which for some reason were not registered). There is no lack many values although sometimes missing six or seven straight ...
I was pointed to the Matlab did interpolation (or something), that is, exchanged missing values by means of the previous records or splines. Any tips?
I know that probably only programming but if there is another way for me would be preferable, I have almost no practice in programming and I have urgency in the results.
Thank you for your attention.
Best Regards.

Respuestas (3)

Chad Greene
Chad Greene el 30 de Mzo. de 2015
Does interp1gap do what you need?

Image Analyst
Image Analyst el 30 de Mzo. de 2015
I have a spline demo and polyfit demo, attached. You could use either of those.

Chad Greene
Chad Greene el 30 de Mzo. de 2015
Or repnan.

Categorías

Más información sobre Spline Postprocessing 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