PeriodicMeanSubtrac​tionForHumNoise

This subtraction filter analyses the shape of the power line interference ("Hum noise") and subtracts it from the time series. Method: movin
20 Downloads
Updated 1 Nov 2019

%% Syntax:
% Filtered,Filter] = periodicMedianFilter(RawData, HumPeriod)
% Filtered,Filter] = periodicMedianFilter(RawData, HumPeriod, Window)
% Filtered,Filter] = periodicMedianFilter(RawData, HumPeriod, Window, Plot, PowerLineHum)
%
%% mandatory parameters:
% RawData = series of data with power line hum
% Humperiod = the (whole) number of samples over which the hum repeats (e.g. 1000/50=20 if sample freq=1000)
%
%% optional parameters
% Window [optional] = the number of periods on the sliding window (default 50; 0=entire range) % Plot [optional] default 0=none; 1=make a comparison plot and FFT; 2=also plot the filter
%

Cite As

Marc de Lussanet (2024). PeriodicMeanSubtractionForHumNoise (https://github.com/lussanet/PeriodicMeanSubtractionForHumNoise), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.