how to use built in linear equalizer function?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu QPSK finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!