Removing the 50 Hz interference with an FIR filter

Now we remove the 50 Hz with the help of an FIR filter. The filter-coefficients are generated with the 'fir1' command (filter toolbox) and then the ECG-data is filtered using the 'filter' command.

If the ECG has excessive baseline drift one could also use a highpass FIR filter. Consult the help page of the fir1 command of how to create the coefficients of a highpass filter.

ECG files

octave/50hzremoval.txt · Last modified: 2014/05/25 23:45 by berndporr