Vector problem

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

Manav R. 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.