Missing data retrieve from a periodic pattern.

1 次查看(过去 30 天)
Hi, I have a temperature record data set (attached) from 2005 to 2016. The temperature cycle is predictable because it's really just a seaosnal high and low pattern. I have the late spring, summer, and early fall record. I want to estimate the winter temperature and olug it in as a sinusoidal pattern. Can anyone help me with that?

回答(1 个)

Les Beckham
Les Beckham 2023-6-13
load('TempRecord.mat');
plot(T.Time, T.Temp)
grid on
There is definitely not enough information here to fill in those large gaps in the data. Perhaps you can get data from a different source to fill in the gaps.
  2 个评论
Ashfaq Ahmed
Ashfaq Ahmed 2023-6-13
But the missing data is predictable and we have an idea on how would it look like. Any synthetic data set would work as long as it makes sense.
Les Beckham
Les Beckham 2023-6-13
编辑:Les Beckham 2023-6-13
If you can create some sort of algorithm/equation/rule for predicting the minimum value from the data before and after, perhaps it is possible. Maybe if you had data for one winter to give an idea of the shape, you could scale/offset that data in x and y to fit each of the gaps.
However, depending on what you want to do with the data after filling in the gaps, I would be skeptical about how much you could trust the results.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Preprocessing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by