simulate hourly data from monthly data
显示 更早的评论
Hi All,
I have monthly temperature data from Jan-Dec. I want to simulate hourly temperature data from these monthly data. How do we do this in Matlab. I know that these values will be approximate and not exact but it is ok for my purposes. Please advise. Thanks
1 个评论
per isakson
2017-7-24
You might want to use a diurnal temperature model.
回答(2 个)
KSSV
2017-7-24
0 个投票
Simply you need to use interpolation.....read about interp1
Andrei Bobrov
2017-7-24
编辑:Andrei Bobrov
2017-7-24
TT = timetable(datetime(2016,1 + (0:11)',1),randi([-100 100],23,1),'v',{'Values'});
T_out = retime(TT,'hourly','pchip');
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!