Re: [Discuss-gnuradio] Finding max index in a vector

2014-04-25 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ed, I'm on a train. I wanted to try out how long it takes to do it including implementing rudimentary QA. So I just went ahead and tried: about 205s, most spent on figuring out how to get the IO signature straight. Enjoy: https://gist.github.com/mar

Re: [Discuss-gnuradio] Finding max index in a vector

2014-04-25 Thread Tom Rondeau
On Thu, Apr 24, 2014 at 11:32 AM, Ed Criscuolo wrote: > How do I find the index of the max value in a vector from GRC? > The max_xx block outputs the max value, but not its > index, despite what it's documentation says: > > "Data is passed in as a vector of length from multiple input sources. It

[Discuss-gnuradio] Finding max index in a vector

2014-04-24 Thread Ed Criscuolo
How do I find the index of the max value in a vector from GRC? The max_xx block outputs the max value, but not its index, despite what it's documentation says: "Data is passed in as a vector of length from multiple input sources. It will look through these streams of data items and output two