FIR filter coefficients

5 ビュー (過去 30 日間)
Talha
Talha 2011 年 7 月 6 日
回答済み: Veera Kanmani 2018 年 4 月 20 日
hi,
I am trying to implement digital FIR filter in my DSP kit.I know the order, sampling frequency and my signal bandwidth. I want to design Multi band pass filter.
Currently I am working on "fdatool" in Matlab for FIR filter designing. I am trying to make two filter convolve and then get the desired results. One LPF and other bandpass. I successfully get the coefficients in the Matlab workspace and the result of convolution is to some extent satisfactory but the problem is I don't know anything about the filter structure that is used by the original source codes. Cause when I copied the coefficients from the source file and then implemented it Matlab the result was as expected, but when I change the filter structure like Direct or Transpose or anything, nothing happens as oppose to my designed filters whose respone changes as I change the structure.
What could be the reason for that...
  6 件のコメント
Honglei Chen
Honglei Chen 2011 年 7 月 7 日
Hi Talha,
Did you try to look at the response of filter before you burnt the code? Do you see a notch at 50Hz? In addition, do you really have to do it in an FIR filter? From your spec, I'd try a notch filter rather than cascading a lowpass and a bandpass together. Type the following command for details if you have Filter Design Toolbox or DSP System Toolbox.
help fdesign.notch
Talha
Talha 2011 年 7 月 8 日
yes the response was pretty close to good actually. The notch was at 50 Hz. and Yes I require a FIR cause its the only one that is supported by the DSP. And a notch is only available in IIR.

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

回答 (1 件)

Veera Kanmani
Veera Kanmani 2018 年 4 月 20 日
Use FDA tool

カテゴリ

Help Center および File ExchangeFilter Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by