No BSD License  

Highlights from
The DC Blocking Filter

4.8

4.8 | 5 ratings Rate this file 21 Downloads (last 30 days) File Size: 255.52 KB File ID: #13792

The DC Blocking Filter

by J De Freitas

 

29 Jan 2007 (Updated 29 Jan 2007)

An IIR first order dc blocking filter.

| Watch this File

File Information
Description

This submission contains an article describing the ins and outs of the dc blocking filter, giving the relationships between the lone filter coefficient and the cut-on frequency. The implementation aspects are also discussed showing how to interpret the effects of an impulse or step response on the data. The filter is capable of cut-on frequencies far less than 0.01% Nyquist. The article is accompanied by a Matlab function.

The Matlab function dcblock.m is given for the calculation of the lone filter coefficient, a. The syntax includes:

a = dcblock(Fc);
a = dcblock(fc,fs);
[Fc,fc] = dcblock(a,fs);

where Fc is the normalized cut-on frequency, fc is the cut-on frequency in Hz, and fs is the sampling frequency also in Hz. If no outputs are declared at function call, a plot of the filter frequency response is given. Examples provided in the article address the overall performance of the filter in terms of signal distortion, its removal and limitations.

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
16 Mar 2007 sergelen bazarragchaa

Derivation of the formula (3a) is not right

05 Oct 2007 Andrey Bakulin

Great!

21 Mar 2008 Bool Deci.

formula (3a) is right, since it has been normalized.

30 Apr 2008 andrew labul

apply it to grout tests see what happens

18 Aug 2008 Matt Rose

simple filter to remove dc-offset in digital signal. works great

03 Oct 2008 Kevin Richardson

Removed the offset with ease! Good notes as well.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
filter design J De Freitas 22 Oct 2008 08:58:41
filter analysis J De Freitas 22 Oct 2008 08:58:41
dc blocking J De Freitas 22 Oct 2008 08:58:41
highpass J De Freitas 22 Oct 2008 08:58:41
filter J De Freitas 22 Oct 2008 08:58:41
dc blocking Janne 14 Feb 2012 02:49:39

Contact us at files@mathworks.com