File Exchange

image thumbnail

Weighted Non-stationary Averaging

version 1.0 (6.49 KB) by

Dynamically performs weighted averaging and SNR estimation under a non-stationary noise.

1 Download


View License

Given a NxM data matrix where N is the epoch length and M is the number of trials, WNSFMP returns (among other):

w- weight for each trials estimated by dynamically segmenting
the data matrix into regions where noise is locally stationary
ave- the final weight average
snr - the estimate SNR and residual noise levels under weighted
averaging and normal (uniform) averaging.

The function is implemented recursively and through the use of PERSISTENT variables. So that multiple calls to WNSFMP allows it to calculate a running statistics in case loading of entire dataset is not possible

See also: Silva,I, "Estimation of Postaverage SNR from Evoked Responses under Nonstationary Noise", 2009, 56(8)

Comments and Ratings (0)

MATLAB Release
MATLAB 7.10 (R2010a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video