Plot average of range of data

Hi, I am hoping for help on the following:
I would like to take the average of the last 10 years of my data-for multiple scenarios-and then create a plot containing the combined scenarios.
I understand how to take a moving average, but am unsure how to specify solely for specific years (2060-2070).
Any help is appreciated,
Thanks!

1 Kommentar

Jan
Jan am 2 Okt. 2017
Bearbeitet: Jan am 2 Okt. 2017
The question is not clear. What are the inputs? Do you want a moving average or a blockwise average? Did you search in the forum already? Perhaps this helps already: https://www.mathworks.com/matlabcentral/answers/329251-average-in-a-matrix-with-different-intervals

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 2 Okt. 2017

Bearbeitet:

Jan
am 2 Okt. 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by