フィルターのクリア

Digital filters

3 ビュー (過去 30 日間)
Kim
Kim 2011 年 7 月 18 日
I am trying to build a band pass filter from .1 to 40 Hz, IIR or FIR, and then analyze it in matlab. Does anyone know reasonable parameters for this kind of filter (Fs=256). I am having trouble building one that has nice properties.
Thanks Kim
  2 件のコメント
Jan
Jan 2011 年 7 月 18 日
What is "nice" enough for your purpose?
Kim
Kim 2011 年 8 月 30 日
Thank you for your answer. I have been away. And have found the answer.

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

採用された回答

Rick Rosson
Rick Rosson 2011 年 7 月 18 日
Hi Kim,
Do you have access to the Signal Processing Toolbox in MATLAB? If so, you can use the fdatool to design the filter very easily.
For more information:
doc fdatool
HTH.
Rick
  1 件のコメント
Kim
Kim 2011 年 8 月 30 日
Thank you for taking time to answer this. I was away for a bit so didn't get it.

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

その他の回答 (2 件)

Gaurav Gupta
Gaurav Gupta 2011 年 7 月 19 日
Use fir1 for designing filter and freqz for viewing its frequency response
  1 件のコメント
Kim
Kim 2011 年 8 月 30 日
Thank you for your answer.

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


Daniel Shub
Daniel Shub 2011 年 7 月 19 日
Introductory DSP textbooks tend to provide formula for calculating parameters for some simple IIR filters (e.g., Butterworth). The signal processing toolbox in MATLAB provides the butter command. A first order Butterworth filter can be obtained with:
[b, a] = butter(1, [.1, 40]./128)
The parameters are: b =
0.3477 0 -0.3477
a =
1.0000 -1.3030 0.3047
  3 件のコメント
Daniel Shub
Daniel Shub 2011 年 7 月 19 日
Yes, Kim said Fs=256.
Kim
Kim 2011 年 8 月 30 日
Thank you for this answer. I ended up using a butterworth designed in fdatool but then moved it to an mfile.

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by