Discrete FIR Filter help

2 次查看(过去 30 天)
John Backman
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
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 CenterFile Exchange 中查找有关 Get 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