discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Complex-->real


From: Martin Braun
Subject: Re: [Discuss-gnuradio] Complex-->real
Date: Mon, 16 Feb 2009 09:25:48 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

On Sun, Feb 15, 2009 at 05:50:24PM -0500, Marcus D. Leech wrote:
> I have a complex stream that I've bandpass filtered so that it only
> contains the positive frequencies.  I want to turn this into
>   a real signal.  In the reverse direction, you use a hilbert transform,
> right?  But how do you do it in the reverse direction?
>   Do I just do a complex-to-float, and take the one that's "real", and
> ignore the other one?

You can do that, or use gr_complex_to_real() which I would prefer for
coid readability. In my textbooks, the baseband to passband relation is
often described as

s(t) = Re{ x(t) exp(j 2 pi fc t) }

which is exactly what you'd be doing then (x(t) being the complex
baseband signal).

Cheers,
MB

-- 
Dipl.-Ing. Martin Braun           Phone: +49-(0)721-608 3790
Institut fuer Nachrichtentechnik  Fax:   +49-(0)721-608 6071
Universitaet Karlsruhe (TH)       http://www.int.uni-karlsruhe.de/

Attachment: pgpkvs9qhxLsa.pgp
Description: PGP signature


reply via email to

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