フィルターのクリア

suggestions for highpass filter design in Matlab

4 ビュー (過去 30 日間)
Stefan
Stefan 2013 年 12 月 2 日
コメント済み: Stefan 2013 年 12 月 6 日
Hello,
I want to implement a digital highpass filter in Matlab which should do the same job as simple analog filter(a RC filter) having a cutoff frequency of 0.5Hz ans sampling frequency needed is 500Hz. I got the similar in this thread
d = fdesign.highpass('Fst,Fp,Ast,Ap',0.5,0.6,40,1,500);
Hd = design(d,'butter');
Is this the correct of way of implementation or does it need any changes I mean if the need is to implement a digital filter that can act similar to the analog filter.
Thanks.

採用された回答

Wayne King
Wayne King 2013 年 12 月 3 日
編集済み: Wayne King 2013 年 12 月 3 日
Yes, that looks fine as long as you realize that you have essentially an allpass filter since you are such a low stopband frequency
d = fdesign.highpass('Fst,Fp,Ast,Ap',0.5,0.6,40,1,500);
Hd = design(d,'butter');
fvtool(Hd)
You can also use butter() to design the filter in the analog domain directly in radians/second.
N = 30;
[B,A] = butter(N,pi,'high','s');
  1 件のコメント
Stefan
Stefan 2013 年 12 月 6 日
Wayne, When I tried to implement the above filter in fdatool,a warning message as appeared as shown below
Can you help me to figure out the problem. Thanks.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnalog Filters についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by