Error in h5gPolarDecoder
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mirco Lucca
le 23 Fév 2018
Réponse apportée : Amit Kansal
le 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?
0 commentaires
Réponse acceptée
Amit Kansal
le 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.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur PHY Components dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!