fft question about data length and spline data

조회 수: 1 (최근 30일)
peter huang
peter huang 2022년 4월 25일
댓글: Star Strider 2022년 4월 26일
I want use fft analizy my water level data.
because my data have lost ,so i use spline fill up my data.
but when i use data length exceed 8760 hr (365) day my spline line result not would be normal.
the attached file are the spline results of the test data length of one year and two years.

답변 (1개)

Star Strider
Star Strider 2022년 4월 25일
If you have R2016b or later, the fillmissing function will likely be a better choice.
  댓글 수: 2
peter huang
peter huang 2022년 4월 26일
if my data have very large loss in a specific area
which way should i use fillmissing to missing values
attcached file is my raw-data and fillmissing result (spline)
Star Strider
Star Strider 2022년 4월 26일
I would not use the 'spline' nethod with fillmissing where there is a large gap. I would instead use 'linear' or some other choice that provides a reasonable approximation of the missing data. Another option is the Signal Processing Toolbox resample function.

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by