simulate hourly data from monthly data
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Respuestas (2)
KSSV
el 24 de Jul. de 2017
Simply you need to use interpolation.....read about interp1
0 comentarios
Andrei Bobrov
el 24 de Jul. de 2017
Editada: Andrei Bobrov
el 24 de Jul. de 2017
TT = timetable(datetime(2016,1 + (0:11)',1),randi([-100 100],23,1),'v',{'Values'});
T_out = retime(TT,'hourly','pchip');
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!