RLS for DFE



Hello People

I am trying to implement adaptive DFE using RLS tap updates.

But I want to update both of my filters separately. But when I do that I
am not getting good result. So I combined both the filters and I am
updating them together. This works very well. I don't know if this is
correct.

% x is received sequence
% N=15
% Ip is feedback vector

w=[zeros(N,1);0;zeros(N,1)];
y_pad=[x zeros(1,N)];
Ip=zeros(1,N).';
lambda1=1;
rinv1=1/0.001*eye(2*N+1);

for n=1:trng
u=[y_pad(N+n:-1:n).';Ip];
K1=lambda1^-1*rinv1*u/(1+lambda1^-1*u'*rinv1*u);
Ik(n)=w'*u;
error=t(n)-Ik(n); e(n)=error;
w=w+K1*conj(error);
rinv1=(rinv1-K1*u'*rinv1)/lambda1;
Ip(2:end)=Ip(1:end-1); Ip(1)=t(n);
end

Your guidance will be greatly appreciated.

Thanks

Chintan
.