[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Gr-trellis ; convolutional code and, convolutionn
From: |
Axel Belliard |
Subject: |
Re: [Discuss-gnuradio] Gr-trellis ; convolutional code and, convolutionnal interleaver. |
Date: |
Wed, 14 Apr 2010 10:43:43 +0200 (CEST) |
User-agent: |
SquirrelMail/1.5.1 |
Hi
Thanks for answering my questions.
I changed my code, it works now.
I will try the random interleaver, to see how it works. But in the end I
will need a super control over it. I need something that look like that :
http://www.mathworks.com/access/helpdesk/help/toolbox/commblks/ug/fp60504.html
(see convolutional interleaver section).
Thanks again
Axel
On Tue, April 13, 2010 7:58 pm, Achilleas Anastasopoulos wrote:
> Axel,
>
>
>
> First, there is no such thing in gr-trellis as a "convolutional
> interleaver". There is only a generic interleaver, ie a permutation which
> is defined through the different constructors provided in interleaver.h
> (through a file, random, etc).
> If you do not want to have super control over it i suggest you start
> with just a random interleaver and see how it works.
>
> Second, I see a minor problem in your code:
> the viterbi block should specify the block size as its 2nd parameter so
> instead of
>
> self.va = trellis.viterbi_s(f,2,0,-1)
>
> you should put something like
>
> self.va = trellis.viterbi_s(f,len(self.src_data),0,-1)
>
> I tried this modification and works fine with me.
> Let me know if you have any problems,
> Achilleas
>
>