The DC Blocking Filter

版本 1.0.0.0 (255.5 KB) 作者: J De Freitas
An IIR first order dc blocking filter.
4.1K 次下载
更新时间 2007/1/29

无许可证

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.

引用格式

J De Freitas (2024). The DC Blocking Filter (https://www.mathworks.com/matlabcentral/fileexchange/13792-the-dc-blocking-filter), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP2
兼容任何版本
平台兼容性
Windows macOS Linux
社区

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0