필터 지우기
필터 지우기

Correct database - fill missing data

조회 수: 2 (최근 30일)
Nuno Bouça
Nuno Bouça 2015년 3월 30일
댓글: Neil Rodrigo Gómez 2017년 11월 20일
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.

답변 (3개)

Chad Greene
Chad Greene 2015년 3월 30일
Does interp1gap do what you need?

Image Analyst
Image Analyst 2015년 3월 30일
I have a spline demo and polyfit demo, attached. You could use either of those.

Chad Greene
Chad Greene 2015년 3월 30일
Or repnan.
  댓글 수: 1
Neil Rodrigo Gómez
Neil Rodrigo Gómez 2017년 11월 20일
Very valuable information, Thank you

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by