How to convert hourly data to monthly average?

2 visualizaciones (últimos 30 días)
Ali Saremi
Ali Saremi el 16 de Ag. de 2017
Comentada: Ali Saremi el 17 de Ag. de 2017
Hi, I made a table which its first column shows date and time(every 3 hours) and its second column shows Wave Height collected on that day and time. I need to convert it to monthly data and take the average. I have attached a screen shot. If you could take a look and help me with that, I would really appreciate it.
Regards Ali

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 16 de Ag. de 2017
tt = table2timetable(wavetable);
retime(tt,'monthly','mean')
Time tables make this type of work super straightforward.
  1 comentario
Ali Saremi
Ali Saremi el 17 de Ag. de 2017
IT worked. Thank you so much. I appreciate it. Regards Ali

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Type Conversion en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by