Professional Documents
Culture Documents
Digital Communications Lab Lab 9 - Linear Equalization: Questions
Digital Communications Lab Lab 9 - Linear Equalization: Questions
clear all;clc;
N = 1e6;
ebno = 0:5:20;
nvar= 10.^(-0.1*ebno);
for nv = 1:length(nvar)
s = sign(randn(1, N));
y1 = filter([1 0.5], 1, s)+sqrt(nvar(nv))*(randn(1, N)+j*randn(1,
N))/sqrt(2);
y2 = filter([1 -0.25], 1, s)+sqrt(nvar(nv))*(randn(1, N)+j*randn(1,
N))/sqrt(2);
z = (y1+2*y1)/2;
ber(nv) = sum(sign(real(z)) ~= s)/N;
end
figure; semilogy(ebno, ber);
xlabel('Eb/No');ylabel('BER');
Questions
1. Suppose the two channels from the transmitter to the two receivers were
h1 ( n )=δ ( n ) +0.5 δ ( n−1 ) and h2 ( n )=δ ( n ) −0.5 δ( n−1). How could you then eliminate the
ISI?
2. Can you implement this very same lab using simulink?