Dear all,
The documentation of the Moving Average block made me feel confuse about
its functionality. It says: "output is the moving sum of the last N
samples". If I need a sum of 100 samples, this block will sum the 100
samples that I need and after that it will get another different samples?
For
Chiming in that this is also a great opportunity to contribute improved
documentation after you've figured out your answer.
In addition to Marcus' comment, looking at the code helps (and in this case
is pretty easy):
set_history(d_length);
// skipping some stuff
@I_TYPE@ sum =
Whoops, just noticed I didn't reply to all when I answered so my message
and Pedro's response were not forwarded to the mailing list :
Le jeu. 7 janv. 2016 à 20:28, Pedro Gabriel Adami <
pedrogabriel.ad...@gmail.com> a écrit :
Dear, Timothée,
Thank you so much. I am doing some tests and I've rea
Dear all,
In addition to my previous response, I'm attaching an image that shows the
formula I'm trying to build in gnuradio (using blocks). But instead of n =
0 and N-1, I need n = 1 and 100 (100 samples). The second picture shows how
I tried to do in Gnuradio, but the moving average block does n
Hi Pedro,
$y[n]=\sum\limits_{i=n-N+1}^n {\left|x[i]\right|^2}$ is nothing but the
moving average over the squared magnitude.
Sadly, your formula
$T=\sum\limits_{n=0}^{N-1} {\left|Y[n]\right|^2}$ doesn't specify what T
signifies; is T used as a single sum over N samples' squared magnitudes,
or is i