Weighted Non-stationary Averaging

Dynamically performs weighted averaging and SNR estimation under a non-stationary noise.
714 Downloads
Updated 11 May 2010

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)

Cite As

Ikaro Silva (2024). Weighted Non-stationary Averaging (https://www.mathworks.com/matlabcentral/fileexchange/27585-weighted-non-stationary-averaging), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Text Analytics Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0