Error in example comm/DecisionFeedbackEqualizeBPSKModulatedSignalExample
3 views (last 30 days)
Show older comments
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);
0 Comments
Answers (1)
Vinay
on 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 Comments
Voss
on 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.
See Also
Categories
Find more on BPSK in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!