DSPRelated.com
Forums

IIR Filter Funktion with DSP5416

Started by Eugene January 5, 2005
one more question.

'h' parameter of the function iir32() from DSPLIB have 3 Values for
dominator and only 2 values for numenator. so, but I have the
following Array real64_T_T NUM[][3] also I have 3 values for
numenator.

what is this?

thanks
johnbesel@web.de (Eugene) wrote:

>one more question. > >'h' parameter of the function iir32() from DSPLIB have 3 Values for >dominator and only 2 values for numenator. so, but I have the >following Array real64_T_T NUM[][3] also I have 3 values for >numenator. > >what is this? > >thanks
It's been a while since I've worked with that form, but it might be something like: 0 = b0x[n] + b1x[n-1] + b2x[n-2] - a0y[n] - a1y[n-1] - a2y[n-2] bring y[n] to the left side, and divide through by a0 on the left side to get your new coefficients for: y[n] = b0'x[n] +b1'x[n-1] + b2'x[n-2] - a1'y[n-1] - a2'y[n-2] But I recommend that you prove this using something else, before the DSP ... like using a test signal in C or matlab. Robert ( help from an American ) ( modify address for return mail ) www.numbersusa.com www.americanpatrol.com