running average and standard deviation of vectors

computes the running average and standard deviation of vectors or matrices for a given window size.
ダウンロード: 553
更新 2013/8/9

ライセンスの表示

[running_avg, running_std] = running_mean_std( data, filter_width )
returns the running mean and standard deviations of either a vecotor or matrix.

for the case of data = vector of length N, it will return a running average and
standard deviation for a window of width filter_width. The output vectors have length N; however,
to avoid edge effects NAN's are placed in the front and end: running_avg(
[1:N, end+1-N:end]) = NAN.

for the case of data = vector of 2XN or NX2, it will return a running average and
standard deviations for the first row (column) and the second row (colum) for a window of width filter_width.
The output vectors have length N; however, to avoid edge effects NAN's are placed in the front and end: running_avg([1:N, end+1-N:end]) = NAN.

for the case of data = matrix MXN (i.e. a b/w picture), it will return a running average and
standard deviations for a filter, which is a filled circle with diameter filter_width.

引用

Stephan Koehler (2024). running average and standard deviation of vectors (https://www.mathworks.com/matlabcentral/fileexchange/42994-running-average-and-standard-deviation-of-vectors), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersRegression についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

expanded the range of input parameters, to include matrices (i.e. pictures).
Also extended the examples.

1.0.0.0