how to use built in linear equalizer function?

조회 수: 16 (최근 30일)
mariam muner
mariam muner 2023년 5월 3일
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개)

카테고리

Help CenterFile Exchange에서 QPSK에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by