Use interp1(), as discussed in http://www.mathworks.com/matlabcentral/answers/41250-interpolation-to-specific-sequence-of-dates
temporal disaggregation
2 次查看(过去 30 天)
显示 更早的评论
Dear all
I have the following data set
dates price
23/11/08 2
28/12/08 3
25/01/09 4
The first value is of 4-week average (average of prices across 28 days). The next value is a 5-week average and the last one is a 4-week average. I want to calculate average monthly prices. Temporal disaggregation is what I have in mind. Any code/suggestion?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Price and Analyze Financial Instruments 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!