필터 지우기
필터 지우기

Error in h5gPolarDecoder

조회 수: 2 (최근 30일)
Mirco Lucca
Mirco Lucca 2018년 2월 23일
답변: Amit Kansal 2018년 5월 15일
Hi to everybody,
At specific EbN0 values I have this error:
Subscript indices must either be real positive integers or logicals.
Error in h5gPolarDecoder/getArrayPtrC (line 927) s2 = obj.inactiveArrayIndices(layer,obj.inactiveArrayIndicesLen(layer,1));
Error in h5gPolarDecoder/contPathsUnfrozenBit (line 559) sc2 = h5gPolarDecoder.getArrayPtrC(obj, mplus1, pathIdx1);
Error in h5gPolarDecoder/stepImpl (line 361) h5gPolarDecoder.contPathsUnfrozenBit(obj, phase);
How can I solve this problem? Why does this problem appear?

채택된 답변

Amit Kansal
Amit Kansal 2018년 5월 15일
Please check the LLR inputs provided to the decoder object - these need to be accurately scaled based on the noise variance modeled in the link. An incorrect scaling of the LLRs may result in this error from the object.
Often, the incorrect scaling is due to the lack of noise variance specification on the upstream demodulator (e.g. qamdemod, which assumes a default variance of 1) OR on the constellation power used by the demodulator.
We will update the object to yield a more informative error message.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by