fft question about data length and spline data

2 次查看(过去 30 天)
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