Error in example comm/Decis​ionFeedbac​kEqualizeB​PSKModulat​edSignalEx​ample

3 vues (au cours des 30 derniers jours)
Nicholas
Nicholas le 17 Jan 2025
Commenté : Voss le 22 Jan 2025
In the example comm/DecisionFeedbackEqualizeBPSKModulatedSignalExample the following line:
eqdfe_lms = comm.DecisionFeedbackEqualizer('Algorithm','LMS', ...
'NumForwardTaps',8,'NumFeedbackTaps',5,'StepSize',0.03);
Needs to read:
eqdfe_lms = comm.DecisionFeedbackEqualizer('Algorithm','LMS', ...
'NumForwardTaps',8,'NumFeedbackTaps',5,'StepSize',0.03, ...
'Constellation', pskmod(0:1, 2));
This is because the default for comm.DecisionFeedbackEqualizer seems to be QPSK not BPSK.
Also the line above it:
bpsk = comm.BPSKModulator;
Is deprecated, it can be changed to:
bpsk = @(x) pskmod(x, 2);

Réponses (1)

Vinay
Vinay le 20 Jan 2025
The "Decision Feedback Equalizer" uses the QPSK as the default constellation and can be seen by the constellation pattern containing 4 signals defined as
Constellation: [0.7071 + 0.7071i -0.7071 + 0.7071i -0.7071 - 0.7071i 0.7071 - 0.7071i ]
The BPSK signal can be created by providing the argument as
% Real axis constellation BPSK diagram
'Constellation' = pskmod(0:1,2);
The function "comm.BPSKModulator" can be replaced by the "pskmod" as per the modulation technique.
Kindly refer to the below documentaton of "Decision Feedback Equalizer" for more details
I hope this resolves the query!
  2 commentaires
Nicholas
Nicholas le 22 Jan 2025
Apologies if I wasn't clear. I understand how to add the constellation to the equalizer, as I mention it in my comment.
It appears that the MATLAB example code itself is incorrect, specifically comm/DecisionFeedbackEqualizeBPSKModulatedSignalExample. Since it's a small example, with no plots, it's not easy to notice.
I don't know how to make suggestions to improve MATLAB's examples. Is there another place to do that?
Voss
Voss le 22 Jan 2025
"I don't know how to make suggestions to improve MATLAB's examples. Is there another place to do that?"
@Nicholas Destefano: At the bottom of the documentation page, there is a text prompt ("How useful was this information?") with five stars you can click on to provide feedback.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by