discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] How can I skip N ites for each input?


From: Songsong Gee
Subject: [Discuss-gnuradio] How can I skip N ites for each input?
Date: Thu, 25 Nov 2010 16:39:24 +0900

I know there is a block 'Skip Head'

When I use it, however, I don't think that it works as I expected
I expected that like this:

Suppose a sequence 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
(one 1, seven 0's and repeat forever)
I want to take just '1' for EVERY time
So I place and connect 'Skip Head' block and set 'Num items' 7, which means it skips first 7 items.

In fact, as my guess and experiment, it just skips the very first 7 items!
In short, I have 800 items and use 'Skip Head' with 7 skips,
it passes 793 items. I expected 100 items! (800 / (7 + 1))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]