Argmax: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Created page with "Compares vectors from multiple streams and determines the index in the vector and stream number where the maximum value occurred. Data is passed in as a vector of length ''vl...")
 
No edit summary
Line 1: Line 1:
[[Category:Block Docs]]
Compares vectors from multiple streams and determines the index in the vector and stream number where the maximum value occurred.
Compares vectors from multiple streams and determines the index in the vector and stream number where the maximum value occurred.



Revision as of 22:19, 12 March 2019

Compares vectors from multiple streams and determines the index in the vector and stream number where the maximum value occurred.

Data is passed in as a vector of length vlen from multiple input sources. It will look through these streams of data items and output two streams:

  1. Stream 0 will contain the index value in the vector where the maximum value occurred.
  2. Stream 1 will contain the number of the input stream that held the maximum value.