Discrete FIR Filter help

4 ビュー (過去 30 日間)
John Backman
John Backman 2018 年 9 月 6 日
コメント済み: John Backman 2018 年 9 月 6 日
I have trouble with getting the Discrete FIR filter to work. It seems that the block is feeding out as many outputs as I have coefficients, even when direct form should add them together.
First off, I am using a coefficients list that I generated from here: http://t-filter.engineerjs.com/
I have it set as follows: Coefficient source - dialog parameter Filter structure - direct form Coefficients - [-0.007775715121256268 -0.007938974136595613 -0.009534265788246128 -0.008779578259641298 -0.004381884421750879 0.004666131585205163 0.0188044731228937 0.03764144706001848 0.05992101812383003 0.08357444021744635 0.10601855702701225 0.12454015906119098 0.13674393462068657 0.14100385434561774 0.13674393462068657 0.12454015906119098 0.10601855702701225 0.08357444021744635 0.05992101812383003 0.03764144706001848 0.0188044731228937 0.004666131585205163 -0.004381884421750879 -0.008779578259641298 -0.009534265788246128 -0.007938974136595613 -0.007775715121256268] Input processing - elements as channels - sample based Input states - 0 sample time - -1 Data Types - all defaults
Thanks, John
  1 件のコメント
John Backman
John Backman 2018 年 9 月 6 日
This is the Simulink block.
If someone has an example of this block working, I bet that might lead me to an answer. NOTE to Simulink people, when there are problems like this, the documentation should have PICTURES AND EXAMPLES. Every block should have a simple example showing its typical use.

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

回答 (1 件)

Dimitris Kalogiros
Dimitris Kalogiros 2018 年 9 月 6 日
1) Check the input. Is it "sample based" or it is a sample
2) Check how you watch the output
3) Of course you put the coefficients as "Numerator" and you put [1] as "Denominator". Are you ?

カテゴリ

Help Center および File ExchangeGet Started with DSP System Toolbox についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by