|
From: | Marcus D. Leech |
Subject: | Re: [Discuss-gnuradio] Vector operation in GRC |
Date: | Mon, 19 Dec 2011 17:20:09 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
Here's a vector-subtract graph that should do what Ed wants, might need some tweaking.If you're somewhat familiar with how to write/modify blocks, it probably wouldn't be difficult to implement that functionality by making a new block that is a copy of gr_multiply_const_vcc.cc (for instance) and changing the work function to do what you want. Sean
Performance won't be as good as with a dedicated block to do the same thing, but if the data rates aren't obscene, this should work reasonably well, I think. Ed mentioned that the vector is the result of an FFT, so I simply placed an FFT block in there for
illustrative purposes. -- Marcus Leech Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
vector_subtract.grc
Description: application/gnuradio-grc
vector_subtract.py
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |