This subtraction filter analyses the shape of the power line interference ("Hum noise") and subtracts it from the time series. Method: movin
https://github.com/lussanet/PeriodicMeanSubtractionForHumNoise
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
%% 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 (2026). PeriodicMeanSubtractionForHumNoise (https://github.com/lussanet/PeriodicMeanSubtractionForHumNoise), GitHub. Retrieved .
General Information
- Version 1.0.0 (9.08 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
