Weighted Non-stationary Averaging
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |