Hello, thank you for the answer, for the function iir32(DATA *x, LDATA *h, DATA *r ...) should be the length of 'h' 5*nbiq. If I think right, so if the length of Filter is 8, the should be the length of 'h' 4*5=20 If I produce the coef. with Matlab, so I get the number of coefs 24. I can't devide this number with 5. What should I do? Or It isn't the coefs. what I get with matlab. "Dig Proc Toolbox"? best regard. Eugene
IIR Filter Funktion with DSP5416
Started by ●January 5, 2005
Reply by ●January 5, 20052005-01-05
johnbesel@web.de (Eugene) wrote:>Hello, thank you for the answer,Welcome.> >for the function iir32(DATA *x, LDATA *h, DATA *r ...) >should be the length of 'h' 5*nbiq. > >If I think right, so if the length of Filter is 8, the should be the >length of 'h' 4*5=20 > >If I produce the coef. with Matlab, so I get the number of coefs 24. I >can't devide this number with 5. > >What should I do? > >Or It isn't the coefs. what I get with matlab. "Dig Proc Toolbox"?I think is answered in the next reply ... that they are giving you the coefficients for a0, a1, a2, b0, b1, and b2 ( i.e. 6 * 4 = 24 )... and you need to divide through by the coefficient on y[n] to get only the 5 coefficients required by TI.> >best regard. >EugeneSame, Robert ( modify address for return mail ) www.numbersusa.com www.americanpatrol.com