[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Re: vector problem
From: |
Manav Rohil |
Subject: |
[Discuss-gnuradio] Re: vector problem |
Date: |
Sat, 8 Mar 2008 23:18:20 +0100 |
Manav Rohil wrote:
> Hi
>
> need some help here
>
> In the statement below, self.bits_per_symbol() is 2
>
> self.bytes2chunks = \
> gr.packed_to_unpacked_bb(self.bits_per_symbol(),
> gr.GR_MSB_FIRST)
>
> Each element of the vector bytes2chunks is 2 bits..I need to separate
> out these 2 bits into 2 separate variables.e.g 10 into 1 and a 0.How do
> i do that
>
> manav
P.S..i need to store these extracted bits in a variable.
--
Posted via http://www.ruby-forum.com/.