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: Allen, Cam
Subject: Re: [Discuss-gnuradio] Vector operation in GRC
Date: Mon, 19 Dec 2011 21:33:58 +0000

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]