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.

 Akzeptierte Antwort

Chad Greene
Chad Greene am 1 Apr. 2016

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Performance and Memory finden Sie in Hilfe-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