Simulink IIR filter coverification - Incomprehensible work
2 次查看(过去 30 天)
显示 更早的评论
I created in Simulink IIR filter (direct form II transposed). Made the same behavioral model in Hdl. Calculated coefficients for a single band parametric equalizer audio (Gain, Fc, Q). I apply noise to both models. Model on Hdl work in double. I compare the results of the Hdl model and the Simulink model, аmplitude frequency response are the same, except for the reference level, in Simulink it is 0 db, like the test noise, and in the Hdl model it is offset by about minus 20 db. What could be the reason, what I do not understand?
0 个评论
回答(1 个)
Kiran Kintali
2018-12-12
I understand you are using double precision floating point model and trying to generate HDL from the Simulink model using HDLCoder and having some issues. Am I correct and can you share your model for further debugging?
kiran.kintali@mathworks.com
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filter Design 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!