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: pgp37sQqbzN3v.pgp
Description: PGP signature

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to