Work with dates in tables
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Patricia Alejandra Palacios Romero
am 19 Jun. 2018
Kommentiert: Patricia Alejandra Palacios Romero
am 21 Jun. 2018
I am working with a database of measurements each 10 minutes, something like the attached picture. I need to get the values for hourly timesteps, so I would need to have just a value for the timestep 12:00 that would be the mean value of the timesteps 12:10 , 12:20 , 12:30 , 12:40 , 12:50. Is there an easy way to do so? Thanks for any help.
1 Kommentar
Paolo
am 19 Jun. 2018
So you want to compute the mean for data where hours (e.g. 12:00) is the same? Can you attach a sample file?
Akzeptierte Antwort
Walter Roberson
am 19 Jun. 2018
If you have a new enough MATLAB, table2timetable() and then use retime()
1 Kommentar
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!