필터 지우기
필터 지우기

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 CenterFile Exchange에서 Filter Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by