dsp system objects: demod (QPSKDemodulator) output must be negated as input to quantizer (dsp.ScalarQuantizerEncoder) for correct results
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
Working with DSP system objects for first time and integrated a demod with a quantizer. To get correct results, I had to negate the demod output into the quantizer.
Can someone explain why this was needed? It was not at all documented nor seemingly intuitive.
Thanks,
Jerry
Code snippet
Demod = comm.QPSKDemodulator('BitOutput', true, ...
'DecisionMethod', 'Log-likelihood ratio', ...
'VarianceSource', 'Input port');
Quantizer = dsp.ScalarQuantizerEncoder('Partitioning', 'Unbounded', ...
'BoundaryPoints', -bound:bound, 'OutputIndexDataType', 'uint8');
.
.
.
dmd_sig = Demod.step(rx_sig, noise_var); % demod
% need to negate the dmd_signal???
llr = Quantizer.step(-dmd_sig);
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Quantizers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!