How to get monthly average temperature data from daily temperature data in new columns at the end by month name?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a yearly mean temperature data from 1989 to 2019, the table headers are named Day_1 to Day_365, I want to get monthly data in new column with month name and automate the process to get for all years from 1989 to 2019.
Please Help.
2 comentarios
Akira Agata
el 25 de Jun. de 2020
You mean, you have a temperature data like the following:
Year Day_1 Day_2 ... Day_365 Day_366
---- ----- ----- ... ------- -------
1989 10 20 ... 20 nan
... ... ... ... ... ...
1992 10 20 ... 20 15
... ... ... ... ... ...
And want to add 12 new columns representing monthly average for each year, like the following ?
Year Day_1 Day_2 ... Day_365 Day_366 Avg_Jan ... Avg_Dec
---- ----- ----- ... ------- ------- ------- ... ------
1989 10 20 ... 20 nan 15.1 ... 11.1
... ... ... ... ... ... ... ... ...
1992 10 20 ... 20 15 15.3 ... 11.3
... ... ... ... ... ... ... ... ...
Respuestas (0)
Ver también
Categorías
Más información sobre Language Fundamentals 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!