discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Vector operation in GRC


From: Ed Criscuolo
Subject: Re: [Discuss-gnuradio] Vector operation in GRC
Date: Mon, 19 Dec 2011 16:42:17 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.22) Gecko/20110902 Thunderbird/3.1.14

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: address@hidden [mailto:address@hidden On Behalf Of Ed Criscuolo
Sent: Monday, December 19, 2011 4:21 PM
To: address@hidden
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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]