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.

 採用された回答

Chad Greene
Chad Greene 2016 年 4 月 1 日

0 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePerformance and Memory についてさらに検索

質問済み:

2016 年 4 月 1 日

回答済み:

2016 年 4 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by