sliding window from column value

I have a 7000x10 matrix, with one of the column being the years from 1985 to 2019. I want to make a sliding window which will go over a 5 years width with a 1 year step size. My problem is that every year holds a different number of events, which means that I can't use a fixed width like I saw with other sliding window techniques.

1 comentario

Walter Roberson
Walter Roberson el 18 de Mzo. de 2019
In your particular case, could it help to pre-calculate summary information by year?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Etiquetas

Preguntada:

el 18 de Mzo. de 2019

Comentada:

el 18 de Mzo. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by