yk = a0 xk + a1 xk−1 + a2 xk−2 + b1 yk−1 + b2 yk−2

Here is my code so far, I am drawing a blank

- Code: Select all
`while (j < 2)`

{

for (int i = 0; i < blockSize; i++)

{

blp1[2] = blp1[1];

blp1[1] = blp1[0];

blp1[0] = dynbuf[i];

dynbuf1[i] = (blpc1[0] * blp1[0]) + (blpc1[1] * blp1[1]) + (blpc1[2] * blp1[2]) + (blpc1[3] * blp1[3]) + (blpc1[4] * blp1[4]);

}

j++;

}

thanks