Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using LMS based adaptive filter, howto implement the inverse system estimation scheme

Status
Not open for further replies.

Poley

Newbie level 2
Joined
Nov 18, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
17
Hello all, I am having a bit of trouble trying to implement this system in the figure to first have a binary signal go through a channel (which i've done) I then don't know what to do to get the new signal back to binary and how to do the training and decision directed parts. I am struggling to write the code in matlab to implement this.
I have the LMS function :

Code:
function [y,e,c] = lms2(x,d,N,mu)
M = max(size(x));
y = zeros(1,M);
e = zeros(1,M);
w = zeros(1,N);  % initialise weight vector
for n = N:M;
    xN = x(n:-1:n-(N-1));
    y(n) = w * xN';
    e(n) = d(n) - y(n);
    w = w + mu * e(n) * xN;
end
c = w;

Any help is appreciated, thank you.

111111.JPG
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top