Moving Variance, variable window size

Is there a way to calculate the moving variance of a data set with a variable window size? I would like my window size to be determined by a specified number of data points within each window, and with this be able to determine when the data converges by finding where my variance is below a certain tolerance.

 Respuesta aceptada

Chad Greene
Chad Greene el 1 de Abr. de 2016

0 votos

I recommend Aslak Grinsted's moving function, which is computationally-efficient and easy to use.

Más respuestas (0)

Categorías

Más información sobre Performance and Memory en Centro de ayuda y File Exchange.

Preguntada:

el 1 de Abr. de 2016

Respondida:

el 1 de Abr. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by