[Top][All Lists]
[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:58:04 +0000 |
Hmm... I'm not sure about that. Seems reasonable to assume that the
stream-to-vector and vector-to-stream blocks would be inverses of each other.
Mostly I'd just be worried about the first or last subtraction - you might only
get a length 1023 vector out at the end.
When you link it up, can you tell whether it produces reasonable results?
-----Original Message-----
From: Ed Criscuolo [mailto:address@hidden
Sent: Monday, December 19, 2011 4:42 PM
To: Allen, Cam
Cc: address@hidden
Subject: Re: [Discuss-gnuradio] Vector operation in GRC
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
- [Discuss-gnuradio] Vector operation in GRC, Ed Criscuolo, 2011/12/19
- Re: [Discuss-gnuradio] Vector operation in GRC, Allen, Cam, 2011/12/19
- Re: [Discuss-gnuradio] Vector operation in GRC, Ed Criscuolo, 2011/12/19
- Re: [Discuss-gnuradio] Vector operation in GRC,
Allen, Cam <=
- Re: [Discuss-gnuradio] Vector operation in GRC, Nowlan, Sean, 2011/12/19
- Re: [Discuss-gnuradio] Vector operation in GRC, Ed Criscuolo, 2011/12/19
- Re: [Discuss-gnuradio] Vector operation in GRC, Allen, Cam, 2011/12/19
- Re: [Discuss-gnuradio] Vector operation in GRC, Marcus D. Leech, 2011/12/19
- Re: [Discuss-gnuradio] Vector operation in GRC, Marcus D. Leech, 2011/12/19
- Re: [Discuss-gnuradio] Vector operation in GRC, Ed Criscuolo, 2011/12/19