On Mon, Jun 24, 2013 at 02:09:51PM +0200, Eskil Varenius wrote: > The grand plan is as follows: > 1) Use an USRP to recieve a signal, I know how. > 2) Divide the stream of samples into vectors, I know how. > 3) Take the FFT of the vectors one by one, I know how. > 4) Average the vectors coming from the FFT together element-wise. I don't know > how. > 5) Save the averaged vector to a file, I know how. > > What I cannot solve is step 4: I need to take the N vectors (each of size M) > coming from the FFT-block and sum them together element-wise to produce one > vector of size M.
The spectral estimation toolbox (gr-specest) has a block to do this (moving_average_vff). You can get it through PyBOMBS, it is not yet 3.7-compatible, though. https://github.com/kit-cel/gr-specest MB -- Karlsruhe Institute of Technology (KIT) Communications Engineering Lab (CEL) Dipl.-Ing. Martin Braun Research Associate Kaiserstraße 12 Building 05.01 76131 Karlsruhe Phone: +49 721 608-43790 Fax: +49 721 608-46071 www.cel.kit.edu KIT -- University of the State of Baden-Württemberg and National Laboratory of the Helmholtz Association
pgpXJe9A36f5B.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio