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일

0 개 추천

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 ?

카테고리

도움말 센터File Exchange에서 Get Started with DSP System Toolbox에 대해 자세히 알아보기

제품

질문:

2018년 9월 6일

댓글:

2018년 9월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by