Discrete FIR Filter help

2 visualizaciones (últimos 30 días)
John Backman
John Backman el 6 de Sept. de 2018
Comentada: John Backman el 6 de Sept. de 2018
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 comentario
John Backman
John Backman el 6 de Sept. de 2018
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.

Iniciar sesión para comentar.

Respuestas (1)

Dimitris Kalogiros
Dimitris Kalogiros el 6 de Sept. de 2018
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 ?

Categorías

Más información sobre Get Started with DSP System Toolbox en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by