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
IIR Filter Funktion with DSP5416
Started by ●January 5, 2005
Reply by ●January 5, 20052005-01-05
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? > >thanksIt'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