Find out the mean of each year and month from temperature data of 1890-2018
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Aoyi
el 29 de Abr. de 2018
Comentada: Aoyi
el 3 de Mayo de 2018
How can I find out the mean of the temperature of each year if I have a big dataset 1890-2018. I would also like to separate the data in to 12 months for all the year to see the seasonal variation. The year of the data has already shown as the Matlab time. I do not know how the select the data of each year to find the mean.
1 comentario
Stephan
el 1 de Mayo de 2018
Hi,
[y,m,d] = ymd(t)
It gives you the datetime as numerical values you can calculate with. This should be the right direction ;-)
Best Regards
Stephan
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Dates and Time 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!