Re: [Discuss-gnuradio] how to average a steam

2008-05-22 Thread wolfgang buesser
Eric Blossom wrote: > > On Thu, May 22, 2008 at 04:43:23PM +0200, Wolfgang Buesser wrote: >> Hi, >> >> what is the simplest way to caluclate the average of a stream? >> >> I generate a stream of fixed length using head(). I would like to >> calculate the linear average (i.e. >> sum_of_all_sam

Re: [Discuss-gnuradio] how to average a steam

2008-05-22 Thread Eric Blossom
On Thu, May 22, 2008 at 04:43:23PM +0200, Wolfgang Buesser wrote: > Hi, > > what is the simplest way to caluclate the average of a stream? > > I generate a stream of fixed length using head(). I would like to > calculate the linear average (i.e. > sum_of_all_samples/number_of_samples). > > Thank

[Discuss-gnuradio] how to average a steam

2008-05-22 Thread Wolfgang Buesser
Hi, what is the simplest way to caluclate the average of a stream? I generate a stream of fixed length using head(). I would like to calculate the linear average (i.e. sum_of_all_samples/number_of_samples). Thanks Wolfgang ___ Discuss-gnura