<< Chapter < Page Chapter >> Page >

The least-squares solution

Define the matrix

Ψ = [ F - ( R T R ) - 1 R T S ] T ( R T R ) [ F - ( R T R ) - 1 R T S ] = F T ( R T R ) F - S T R F - F T R T S + S T R ( R T R ) - 1 R T S .

The purpose of this definition is to rewrite [link] in terms of Ψ :

J L S = Ψ + S T S - S T R ( R T R ) - 1 R T S = Ψ + S T [ I - R ( R T R ) - 1 R T ] S .

Since S T [ I - R ( R T R ) - 1 R T ] S is not a function of F , the minimum of J L S occurs at the F that minimizes Ψ . This occurs when

F = ( R T R ) - 1 R T S ,

assuming that ( R T R ) - 1 exists. A matrix is invertible as long as it has noeigenvalues equal to zero. Since R T R is a quadratic form it has no negative eigenvalues. Thus, all eigenvalues must be positivein order for it to be invertible. The corresponding minimum achievable by J L S at F = F is the summed squared delayed source recovery error. This is the remaining term in [link] ; that is,

J L S min = S T [ I - R ( R T R ) - 1 R T ] S .

The formulas for the optimum F in [link] and the associated minimum achievable J L S in [link] are for a specific δ . To complete the design task, it is also necessary to findthe optimal delay δ . The most straightforward approach is to set up a series of S = R F calculations, one for each possible δ , to compute the associated values of J L S min , and pick the delay associated with the smallest one.

This procedure is straightforward to implement in M atlab , and the program LSequalizer.m allows you to play with the various parameters to get a feel for theireffect. Much of this program will be familiar from openclosed.m. The first three lines define a channel, create a binary source, and thentransmit the source through the channel using the filter command. At the receiver, the data are put through a quantizer, and then the erroris calculated for a range of delays. The new part is in the middle.

b=[0.5 1 -0.6];                   % define channelm=1000; s=sign(randn(1,m));       % binary source of length m r=filter(b,1,s);                  % output of channeln=3;                              % length of equalizer - 1 delta=3;                          % use delay <=n p=length(r)-delta;R=toeplitz(r(n+1:p),r(n+1:-1:1));  % build matrix R S=s(n+1-delta:p-delta)';          % and vector Sf=inv(R'*R)*R'*S                  % calculate equalizer f Jmin=S'*S-S'*R*inv(R'*R)*R'*S     % Jmin for this f and deltay=filter(f,1,r);                  % equalizer is a filter dec=sign(y);                      % quantize and count errorserr=0.5*sum(abs(dec(delta+1:end)...                   -s(1:end-delta)))
LSequalizer.m find a LS equalizer f for the channel b (download file)

The variable n defines the length of the equalizer, and delta defines the delay that will be used in constructing the vector S defined in [link] (observe that delta must be positive and less than or equal to n ). The Toeplitz matrix R is defined in [link] and [link] , and the equalizer coefficients f are computed as in [link] . The value of minimum achievable performance is Jmin , which is calculated as in [link] . To demonstrate the effect of the equalizer, thereceived signal r is filtered by the equalizer coefficients, and the output is then quantized.If the equalizer has done its job (i.e., if the eye is open), then there should be some shift sh at which no errors occur.

For example, using the default channel b= [0.5 1 -0.6],and length 4 equalizer ( n=3 ), four values of the delay delta give

Questions & Answers

what are the important of economic to accounting students with references
salihu Reply
Economics is important because it helps people understand how a variety of factors work with and against each other to control how resources such as labor and capital get used, and how inflation, supply, demand, interest rates and other factors determine how much you pay for goods and services.
Muhammad
explain the steps taken by the government in developing rural market?
Azeem Reply
contribution of Adam smith in economics
abel Reply
I will join
Dexter
I will join
Patrick
Hey
Fatima
Hey
Amir
Hello
AS
hey
Umarou
I love this book and i need extra Economic book
Amir
Hey
Amir
what's happening here
AS
I love this book and i need extra Economic book
Amir
what is the meaning of function in economics
Effah Reply
Pls, I need more explanation on price Elasticity of Supply
Isaac Reply
Is the degree to the degree of responsiveness of a change in quantity supplied of goods to a change in price
Afran
Discuss the short-term and long-term balance positions of the firm in the monopoly market?
Rabindranath Reply
hey
Soumya
hi
Mitiku
how are you?
Mitiku
can you tell how can i economics honurs(BSC) in reputed college?
Soumya
through hard study and performing well than expected from you
Mitiku
what should i prepare for it?
Soumya
prepare first, in psychologically as well as potentially to sacrifice what's expected from you, when I say this I mean that you have to be ready, for every thing and to accept failure as a good and you need to change them to potential for achievement of ur goals
Mitiku
parna kya hai behencho?
Soumya
Hallo
Rabindranath
Hello, dear what's up?
Mitiku
cool
Momoh
good morning
Isaac
pls, is anyone here from Ghana?
Isaac
Hw s every one please
Afran
Ys please I'm in Ghana
Afran
Hello
OLANIYI
pls anyone from Nigeria
OLANIYI
am a new candidate here, can someone put me 2ru
OLANIYI
hello
OLANIYI
Pls economic A level exam tomorrow pls help me
akinwale
am from Ghana
Jacob
hi
Charles
Pls economic A level exam tomorrow pls help me
akinwale
Hi
Dev
bol Diya discuss ab krega v
Dev
hello Mr. Rabindranath
Dev
what do you want Dimlare
Dev
yes tell me your desire to have it
Dev
to have what?
OLANIYI
Good luck
JOSEPH
I want to know about economic A level tomorrow pls help
Lerato
okay
Umarou
okay
Umarou
what is firms
Anteyi Reply
A firm is a business entity which engages in the production of goods and aimed at making profit.
Avuwada
What is autarky in Economics.
Avuwada
what is choice
Tia Reply
So how is the perfect competition different from others
Rev Reply
what is choice
Tia
please what type of commodity is 1.Beaf 2.Suagr 3.Bread
Alfred Reply
1
Naziru
what is the difference between short run and long run?
Ukpen Reply
It just depends on how far you would like to run!!!🤣🤣🤣
Anna
meaning? You guys need not to be playing here; if you don't know a question, leave it for he that knows.
Ukpen
pls is question from which subject or which course
Ada
Is this not economics?
Ukpen
This place is meant to be for serious educational matters n not playing ground so pls let's make it a serious place.
Docky
Is there an economics expert here?
Docky
Okay and I was being serous
Anna
The short run is a period of time in which the quantity of at least one inputs is fixed...
Anna
that is the answer that I found online and in my text book
Anna
Elacisity
salihu
Meaning of economics
Suraj Reply
It will creates rooms for an effective demands.
Chinedum Reply
different between production and supply
babsnof
Hii
Suraj
hlo
eshita
What is the economic?
Suraj
Economics is a science which study human behavior as a relationship between ends and scarce means which has an alternative use.
Mr
what is supply
babsnof
what is different between demand and supply
Debless Reply
Demand refers to the quantity of products that consumers are willing to purchase at various prices per time while Supply has to do with the quantity of products suppliers are willing to supply at various prices per time. find the difference in between
Saye
Please what are the effects of rationing Effect of black market Effects of hoarding
Atty Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Software receiver design. OpenStax CNX. Aug 13, 2013 Download for free at http://cnx.org/content/col11510/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Software receiver design' conversation and receive update notifications?

Ask