how to use built in linear equalizer function?
3 views (last 30 days)
Show older comments
Hello
i have QPSK system and try to equalize the recived signal and measure the error rate before and after equalization.
i use the (comm.linearequalizer ) function as below but i get values (NaN) after like 100 values which prevent me from measuring the error rate
can anyone help on how to correctly use this function
i have 1000 symbols. i take 100 as trainging data and i have signal with the noise to be equalized how i get the correct equalized signal
this s part of my code
thank you in advance
txbit=randi([0 1],n,1);
txsym=bi2de(reshape(txbit,k,(length(txbit)/k)).','left-msb');
y=pskmod(txsym,M);
yplus=rectpulse(y,nsamp);
ytx= yplus;
ynoisy = awgn(ytx,SNR,'measured');
%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
eqlms = comm.LinearEqualizer( ...
'Algorithm','LMS', ...
'NumTaps',8, ...
'StepSize',0.03);
yeq = eqlms(ynoisy,y(1:100));
0 Comments
Answers (0)
See Also
Categories
Find more on QPSK in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!