Calculate the mean of the values in each time serie
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
amine&&
el 22 de Abr. de 2017
Comentada: amine&&
el 23 de Abr. de 2017
Hello, i have a data of time series. I want to get these data on regular time intervals (each 15 min). How I can achieve this task under matlab?
0 comentarios
Respuesta aceptada
Walter Roberson
el 22 de Abr. de 2017
If you have a new enough version of MATLAB, you can use a timetable() and use retime()
4 comentarios
Walter Roberson
el 22 de Abr. de 2017
Your image appears to be using timetable objects; your original question asked about time series. If you do have timeseries objects, you can use the resample() method.
Más respuestas (1)
Image Analyst
el 22 de Abr. de 2017
Use interp1() to resample the data at the desired interval.
3 comentarios
Image Analyst
el 22 de Abr. de 2017
OK. But It's hard for anyone to give you specific recommendations or code when you don't even show us what form your data is in. So why don't you just resample all your vectors so that they cover the same time intervals, add them up, and divide by the number of vectors. Will that not work?
Ver también
Categorías
Más información sobre Preprocessing Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!