Application of linear FIR equalizer
design of TSE optimum non-recursive linear equalizer (FIR) for second order IIR system ** lab12_3.m * mw * 04/02/2007
Contents
Filter and equalizer coefficients
b = .5775*[1 0 .81]; a = [1 -.71 .25]; % numerator and denominator
Binary on-off keying (OOK) signal
d = [1 0 1 0 1 0 1 0 1 0]; % bit stream p = [1 1 1 1]; s = []; % transmitted signal for k = 1:length(d) s = [s d(k)*p]; end
Channel filtering and equalizer
y = filter(b,a,s); % channel % impulse response of FIR equalizer of order p p = 10; [be,TSE] = design_fir_equalizer(s,y,p) v = conv(y,be); % equalizer
be =
1.6833
-1.1952
-0.8346
0.8915
0.5214
-0.5716
-0.2546
0.2984
0.0914
-0.1151
TSE =
2.4737e-004
Graphics
Ls = length(s); n = 0:Ls-1; FIG1 = figure('Name',['lab12_3 : FIR equalizer p = ',num2str(length(be))],... 'NumberTitle','off'); subplot(3,1,1), stem(n,s,'filled'),grid xlabel('n \rightarrow'), ylabel('s[n] \rightarrow') subplot(3,1,2), stem(n,y(1:Ls),'filled'), grid xlabel('k \rightarrow'), ylabel('y[n] \rightarrow') subplot(3,1,3), stem(n,v(1:Ls),'filled'),grid xlabel('n \rightarrow'), ylabel('v[n] \rightarrow')