Will that preserve the absolute positions of the original vector elements? The initial vector represents an FFT, so it's important to me that I keep the same positions.
@(^.^)@ Ed On 12/19/11 4:33 PM, Allen, Cam wrote:
I would probably try converting the vector to a stream, delay the stream by 1 sample, subtract one stream from the other, and then convert the resulting (difference) stream back to a vector. -Cam -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ed Criscuolo Sent: Monday, December 19, 2011 4:21 PM To: [email protected] Subject: [Discuss-gnuradio] Vector operation in GRC I have a vector quantity (size 1024), and I want to do a calculation on it such that v_out[i] = v_in[i] - v_in[i-1] Is such a calculation possible in GRC? I haven't found any way to get a hold of the individual elements of a vector. @(^.^)@ Ed _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
