how to use built in linear equalizer function?

7 ビュー (過去 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 Center および File ExchangeQPSK についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by