Discrete FIR Filter help
Afficher commentaires plus anciens
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 commentaire
John Backman
le 6 Sep 2018
Réponses (1)
Dimitris Kalogiros
le 6 Sep 2018
0 votes
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 ?
Catégories
En savoir plus sur Get Started with DSP System Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!