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!