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 streams. Stream 0 will contain the index value in the vector where the maximum value occurred."


I checked the code template for max (GR v3.7.3), and it doesn't even
seem to retain the index of the max it reports.

@(^.^)@  Ed

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to