Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
hi,
i am trying to implement nlms algorithm and i am writing in c.
I am having problem with the update of the coefficients. Is the equation i have
written to update weights correct??
part of my code:
for (i = 0; i < WLENGTH; i++)
{
xsquare += dly_adapt[i]*dly_adapt[i];
}
for (i = WLENGTH-1; i >= 0; i--)
{
w[i] = w[i]+(beta*E*dly_adapt[i])/xsquare; //update weights of adaptive FIR
dly_adapt[i+1] = dly_adapt[i]; //update samples of adaptive FIR
}
And now, how can i modify the weights equation if i am using fxnlms?
_____________________________________