[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] sample and hold
From: |
Pepito31 Pepito31 |
Subject: |
[Discuss-gnuradio] sample and hold |
Date: |
Fri, 11 Jul 2008 18:32:12 +0200 |
Hello,
I would like to construct a sample and hold function with :
src_data=(0,)*4095,1
delay2=gr.vector_source_b(src_data,True)
sample_and_hold = gr.sample_and_hold_ff()
I would like that that sample and hold had a duration of 4096 cycles
(4095 "0" followed by a "1").
But constructing my vector using src_data=src_data=(0,)*4095,1, I obtain
:
((0, 0, 0, 0, 0, .......... 0, 0, 0, 0, 0), 1)
instead of
(0, 0, 0, 0, 0, 0,........ 0, 0, 0, 0, 1) as I would like
Could you please help me to construct correctly the vector.
Thank you very much,
Pepito
--
Posted via http://www.ruby-forum.com/.
- [Discuss-gnuradio] sample and hold,
Pepito31 Pepito31 <=