Re: [Discuss-gnuradio] Please help building a signal processing block.

2009-04-02 Thread Mikhail Tadjikov
Thank you all for help/suggestions. I think I was most successful in implementing it the way Karthik described it. My code below: const float *in = (const float *) input_items[0]; float *out = (float *) output_items[0]; for (int i = 0; i < d_vlen; i++){ temp = in[i] * (i+1); d_buf

Re: [Discuss-gnuradio] Please help building a signal processing block.

2009-03-30 Thread Eric Blossom
On Mon, Mar 30, 2009 at 09:17:18AM +0200, Martin Braun wrote: > On Sat, Mar 28, 2009 at 05:35:59PM -0700, Mikhail Tadjikov wrote: > > Thanks, but I'm trying to get weighted average specifically. I've looked at > > the > > code for moving_average... it's close to what I need, but its 1:1 in/out >

Re: [Discuss-gnuradio] Please help building a signal processing block.

2009-03-30 Thread Martin Braun
On Sat, Mar 28, 2009 at 05:35:59PM -0700, Mikhail Tadjikov wrote: > Thanks, but I'm trying to get weighted average specifically. I've looked at > the > code for moving_average... it's close to what I need, but its 1:1 in/out > ratio, > but I need N:1 ratio. That's the part I'm particular unclear

Re: [Discuss-gnuradio] Please help building a signal processing block.

2009-03-29 Thread Karthik
> > > On Sat, Mar 28, 2009 at 9:27 AM, Karthik wrote: > >> 2009/3/27 Mikhail Tadjikov >> >> Hello, >>> >>> I'm trying to build several signal processing blocks for a project that >>> I'm doing using USRP2. I was going through the examples and sample code >>> along with browsing the source code

Re: [Discuss-gnuradio] Please help building a signal processing block.

2009-03-28 Thread Mikhail Tadjikov
Thanks, but I'm trying to get weighted average specifically. I've looked at the code for moving_average... it's close to what I need, but its 1:1 in/out ratio, but I need N:1 ratio. That's the part I'm particular unclear about. On Sat, Mar 28, 2009 at 9:27 AM, Karthik wrote: > 2009/3/27 Mikhail

Re: [Discuss-gnuradio] Please help building a signal processing block.

2009-03-28 Thread Karthik
2009/3/27 Mikhail Tadjikov > Hello, > > I'm trying to build several signal processing blocks for a project that > I'm doing using USRP2. I was going through the examples and sample code > along with browsing the source code and I can't seem to find exactly what I > need. I'm trying to do an ave

[Discuss-gnuradio] Please help building a signal processing block.

2009-03-27 Thread Mikhail Tadjikov
Hello, I'm trying to build several signal processing blocks for a project that I'm doing using USRP2. I was going through the examples and sample code along with browsing the source code and I can't seem to find exactly what I need. I'm trying to do an average of a vector of length N: Input vec