viterbi decoder
19 次查看(过去 30 天)
显示 更早的评论
decoder2=vitdec(decode2,trel,20,'cont','hard');
here the length of decode2 is 75 bits. but we are getting the error as:Length of the input code vector must be a multiple of the number of bits in an input symbol. please help us.
0 个评论
回答(1 个)
Walter Roberson
2012-1-20
log2(trel.numInputSymbols) must evenly divide length(decode2)
Each symbol in the vector decoded consists of log2(trellis.numInputSymbols) bits.
2 个评论
Walter Roberson
2012-1-21
As I indicated at the beginning of my response,
log2(trel.numInputSymbols)
The trel here is the same as the trel variable you are passing as the second argument to vitdec .
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Error Detection and Correction 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!