viterbi decoder

19 vues (au cours des 30 derniers jours)
Abi Aarthy
Abi Aarthy le 20 Jan 2012
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.

Réponses (1)

Walter Roberson
Walter Roberson le 20 Jan 2012
log2(trel.numInputSymbols) must evenly divide length(decode2)
Each symbol in the vector decoded consists of log2(trellis.numInputSymbols) bits.
  2 commentaires
Abi Aarthy
Abi Aarthy le 21 Jan 2012
sir,
we donot know how to implement this function"log2(trellis.numinputsymbols)".
Walter Roberson
Walter Roberson le 21 Jan 2012
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 .

Connectez-vous pour commenter.

Catégories

En savoir plus sur Error Detection and Correction dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by