Forum Discussion
Altera_Forum
Honored Contributor
16 years agomatlab code of 8 order iir using 2 order cascade
Hi friends I am new in this forum and hope u will help me to find the solution of my problem. I need to write the matlab code of 8 order iir band pass filter using 2 order cascade without hous...
Altera_Forum
Honored Contributor
16 years agotake your coefficients generated from matlab and perform roots(a) and then roots(b) to derive conjugate pairs. Then poly(a(1:2)) poly(a(3:4)) etc and same for "b". Then match your pairs for optimal shape and lowest noise gain in your system. Then scale so that coeffcients normalised - this may require an extra add with respect to "A"s if any greater than "1" (you will find out what I mean when you try), whereas B can be scaled together. Then chose biquadratic strategy that matches your requirements ... I suggest you research Transpose forms 1 and 2. Try to find one with lowest "summer node" gain.
Now only thing remotely related to FPGA ... good lucj with fxed point ... make sure you properly analyse your filter with respect to stability and regenerative noise gain. FPGAs are not floating point.