Moving Variance, variable window size

1 vue (au cours des 30 derniers jours)
Tyler
Tyler le 1 Avr 2016
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.

Réponse acceptée

Chad Greene
Chad Greene le 1 Avr 2016
I recommend Aslak Grinsted's moving function, which is computationally-efficient and easy to use.

Plus de réponses (0)

Catégories

En savoir plus sur Performance and Memory dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by