Error in h5gPolarDecoder
1 view (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Amit Kansal
on 15 May 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.
0 Comments
More Answers (0)
See Also
Categories
Find more on PHY Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!