I have a paper on ECG segmentation, and need to develop an algorithm using Matlab that involves among other things, developing 2 filters (a Low Pass Differentiator and a First-Order Low Pass Filter) that have the following transfer functions:
Gdiff(z)=1-z^(-6)
and
Gsmooth(z)=(1-z^(-8))/(1-z^(-1))
Any suggestions are welcome. Thank you.

2 件のコメント

Jonathan Epperl
Jonathan Epperl 2013 年 6 月 9 日
z = tf('z', Ts); % Ts is your sampling time
Gdiff = 1-1/z^6;
In any case, do
doc tf
that will provide you with all you need to know about transfer functions in Matlab.
Dragos Alexandru MOCANU
Dragos Alexandru MOCANU 2013 年 6 月 10 日
Thank you very much for the insight, but is there any way to convert the transfer function into a filter?

サインインしてコメントする。

 採用された回答

Honglei Chen
Honglei Chen 2013 年 6 月 10 日

0 投票

It is straightforward to convert transfer function to filter (in theory) to filter coefficients, as shown in the following wiki
For example, you Gdiff is an FIR filter with coefficients of [1 0 0 0 0 0 -1]

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by