Hi Kunal,
Use a decimating FIR filter with taps [0.2, 0.2, 0.2, 0.2, 0.2] and
decimation 5. It will be faster than anything you are about to write.
Miklos
On Sat, Mar 8, 2014 at 12:03 PM, kunal sankhe kunal.2...@gmail.com wrote:
Hello Marcus,
Sorry for my vague explanation. I want to write a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry I was unclear: 5 inputs means 5input items from the same
(only one) input stream.
Now, Miklos is most probably very right, the GNU Radio filters are
highly optimized. But let's take this as an exercise in understanding
decimators:
A decimator
Hello,
I am using GNU Radio version 3.6.5 and trying to write a block to calculate
average of 5 samples. I want to produce one average output corresponding to
5 input samples. I am using set_history(5) to remember previous data. I
used gr_modtool script of type decimator to create file.
eg. for