How to convert from daily timestep to monthly average?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Elizabeth Lees
am 23 Mär. 2021
Kommentiert: Mathieu NOE
am 24 Mär. 2021
Hi I currently have a datatable loaded into MATLAB with the first column stating the date in yyyy-MM-dd HH:mm:ss timestep. I then have 11 other columns with data values. I want to convert this data from the current daily timestep stated to mean monthly values for each column of data. How do I go about doing this? I have attached the data file in question.
0 Kommentare
Akzeptierte Antwort
Mathieu NOE
am 23 Mär. 2021
hello Elizabeth
here you are :
Daily_Data = load('example_data.mat');
Daily_Data = Daily_Data.MIKESHEver10calibrationDetailedTSM11;
Monthly_avg_Data=retime(table2timetable(Daily_Data),'monthly','mean');
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!