30-day running mean from hourly data
Ältere Kommentare anzeigen
Hello, I have a hourly meteorological data as attached. The first column is year, 2nd is month, 3rd is day, 4th is hour and the last is the value. I need to calculate the 30-day running mean from the hourly data and then subtract hourly data from the running mean values. Any help?
Akzeptierte Antwort
Weitere Antworten (2)
Steven Lord
am 18 Aug. 2017
2 Stimmen
You might find the "Sample Points for Moving Average" example in the documentation for the movmean function to be of interest.
Nalini KS
am 19 Jun. 2020
0 Stimmen
How to do this for data having NaN values
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!