フィルターのクリア

how to get filter coefficients after designing filter in FDA tool

8 ビュー (過去 30 日間)
Stefan
Stefan 2013 年 12 月 16 日
編集済み: Stefan 2013 年 12 月 17 日
Hello, I have designed a bandpass filter as suggested here as below
d = fdesign.bandpass('Fst1,Fp1,Fp2,Fst2,Ast1,Ap,Ast2',0.5,1,3,4,80,0.5,80,50);
Hd = design(d,'butter');
here but with fda toool and now I need only the filter coefficients as they will be used for designing filter microcontroller. I am confused with the two options available with the export
1)objects:results 'Hd' variables in the workspace
2)coefficients:results G,SOS variables in the workspace
Which one should I use and how to get and see only the original filters coefficients so that I can copy them into notepad.
Can anyone explain about this. Thanks.

回答 (1 件)

Honglei Chen
Honglei Chen 2013 年 12 月 16 日
If you want the coefficients, you should use second option, "coefficients".
If you choose first option, you get a filter specified in Hd. You can perform the filtering operation by calling filter(Hd,x), but Hd itself is an object describing the filter. It is more than the mere filter coefficients.
HTH
  1 件のコメント
Stefan
Stefan 2013 年 12 月 17 日
編集済み: Stefan 2013 年 12 月 17 日
Thanks and I guess the 'G' contains the actual coefficients that are needed from two variables G and SOS that are exported to the wokspace..

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

カテゴリ

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