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?
0 个评论
回答(1 个)
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 个评论
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 Center 和 File Exchange 中查找有关 Data Preprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!