Hi Marcus,

Thanks for reply.
I have rechecked offical documentation about forecast() method, and
found that you were right. All i think about forecast() behaviour was
my miscomprehension.

I just want count a number of consecutive samples that have a value of
"1".
If my block will get on input the following  sequence [0, 1, 1, 1, 0],
it should send to output a value 3.
If on input will be [1, 1, 0, 1, 0, 0] output should present 2 integer
values: "2" and "1"



Best regards,
Igor

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to