[prev in list] [next in list] [prev in thread] [next in thread]
List: gnuradio-discuss
Subject: [Discuss-gnuradio] trellis.viterbi function_2part
From: Simone80 <melomelomelomelo () libero ! it>
Date: 2010-02-26 15:50:08
Message-ID: 27719893.post () talk ! nabble ! com
[Download RAW message or body]
Thanks Achilleas.
I read all the documentation concerning the trellis, and the final idea that
comes to me is to write a code like the following (to implement the
convolutional decoding 1/2, poly 91,121, constraint len 7):
input_length = 48
output_length = 24
src_data = [1.0 for index in range (input_length)]
src = gr.vector_source_f (src_data, False, input_length)
f = trellis.fsm (1,2,[91,121])
my_trellis_viterbi = trellis.viterbi_i (f,24,-1,-1)
dst = gr.vector_sink_i (output_length)
self.fg.connect (src, my_trellis_viterbi)
self.fg.connect (my_trellis_viterbi, dst)
self.fg.run ()
dec_temp = dst.data ()
why do you think it does not work? The error is always a mismatch of
dimensions between inputs and outpus.
Thx,
Simone.
--
View this message in context: \
http://old.nabble.com/trellis.viterbi-function_2part-tp27719893p27719893.html Sent \
from the GnuRadio mailing list archive at Nabble.com.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic