Filter löschen
Filter löschen

Error in h5gPolarDecoder

2 Ansichten (letzte 30 Tage)
Mirco Lucca
Mirco Lucca am 23 Feb. 2018
Beantwortet: Amit Kansal am 15 Mai 2018
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?

Akzeptierte Antwort

Amit Kansal
Amit Kansal am 15 Mai 2018
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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by