Moving monthly average of SPEI

3 Ansichten (letzte 30 Tage)
Doriano Zita
Doriano Zita am 12 Apr. 2021
Kommentiert: Helder Fraga am 30 Aug. 2022
Is there a way to calculate the SPEI values aggregated to the integration time but as a moving monthly average?
  1 Kommentar
Helder Fraga
Helder Fraga am 30 Aug. 2022
i was looking for the same... looks like this code doesnt give the all monthly values

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Madhav Thakker
Madhav Thakker am 14 Apr. 2021
Hi Doriano,
Have a look at https://in.mathworks.com/help/matlab/ref/movmean.html MATLAB documentation to calculate moving mean. You can specify use this implementation to caluclate moving mean for specific number of elements in history (in your case, 1 month).
Hope this helps.

Kategorien

Mehr zu Climate Science and Analysis 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!

Translated by