Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Electronic Equipment > Digital Signal Processing (DSP) > Re: Complex to ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 19 of 32 Topic 14029 of 14329
Post > Topic >>

Re: Complex to 2x real - how?

by cs_posting@[EMAIL PROTECTED] Oct 12, 2008 at 07:40 PM

On Oct 12, 8:18 pm, Randy Yates <ya...@[EMAIL PROTECTED]
> wrote:

> If you simply take the real component and stuff zeros in every
> other sample to upsample to 2*Fs, you've got what's advertised,
> although without the "inversion". That is, you'll have a real signal
> that has the original content from 0 to Fs / 2 preserved in 0 to Fs / 2
> of the new signal, and the original content from -Fs / 2 to 0 preserved
> in Fs / 2 to Fs. Since the new sample rate is 2 * Fs, Fs is the highest
> frequency at the output rate.

Only partially true.

You will get what you've described where you've described it, but you
will also get the negative frequencies mirrored on top of the positive
ones, and the positive frequencies mirrored into the upper half on top
of the negative ones.

To avoid creating such an aliased mess, you will need a scheme that
does not "simply take the real component and..." but also take the
imaginery component as input to the proposed transformation.  It is
the use of both real *and* imaginery components that lets you tell the
positive and negative frequencies apart.

Also your scheme breaks the bandwidth in the middle and swaps the
pieces out of order.

The usual way to do it, which produces the result showin in the
GC1012's data sheet, is to interpolate (or already have twice the
needed sample rate) and then multiply (mix) by a complex signal at 1/4
the output sample rate, which offsets the whole thing into positive
frequency.

In effect, what you and Randy are proposing, when done right is like a
"2's complement" style of representation, wheras what is usually done
is an "offset binary" type of one.   Let me try to do this in ASCII
art....

original spectrum

ABCD!EFGH where !=0 frequency, half the bandwidth is negative and half
is positive

usual process is to interpolate and low pass filter, producing:

____ABCD!EFGH____  with the incresed sample rate now giving greater
alias-free bandwidth

And then ****ft all to positive frequency:

________!ABCDEFGH

At which point we can safely ignore the imaginery component as our 2x
real component is now sufficient to represent the entire bandwith
(there are is no power left in negative frequencies to be mistaken for
positive ones)

What Randy proposed would have given instead

!EFGHDCBA  which is non-contigous

And what Jerry just proposed gives

!EFGHDCBA with
    +
!DCBAEFGH aliased on top of it...
 




 32 Posts in Topic:
Complex to 2x real - how?
dotter <dotter@[EMAIL   2008-10-09 22:39:47 
Re: Complex to 2x real - how?
Jerry Avins <jya@[EMAI  2008-10-09 17:46:21 
Re: Complex to 2x real - how?
John <sampson164@[EMAI  2008-10-09 17:07:20 
Re: Complex to 2x real - how?
Jerry Avins <jya@[EMAI  2008-10-09 20:32:50 
Re: Complex to 2x real - how?
cincydsp@[EMAIL PROTECTED  2008-10-09 19:30:52 
Re: Complex to 2x real - how?
dbd <dbd@[EMAIL PROTEC  2008-10-09 21:32:01 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-10 07:28:49 
Re: Complex to 2x real - how?
dbd <dbd@[EMAIL PROTEC  2008-10-10 08:30:34 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-10 08:49:09 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-10 09:20:12 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-10 10:39:53 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-10 11:32:11 
Re: Complex to 2x real - how?
John <sampson164@[EMAI  2008-10-10 11:45:29 
Re: Complex to 2x real - how?
"John E. Hadstate&qu  2008-10-10 06:22:07 
Re: Complex to 2x real - how?
System Alchemist <dott  2008-10-11 17:46:06 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-11 14:14:08 
Re: Complex to 2x real - how?
dotter <dotter@[EMAIL   2008-10-12 10:37:36 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-12 18:02:40 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-12 19:40:31 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-12 19:49:44 
Re: Complex to 2x real - how?
Jerry Avins <jya@[EMAI  2008-10-12 22:55:31 
Re: Complex to 2x real - how?
cs_posting@[EMAIL PROTECT  2008-10-12 20:03:25 
Re: Complex to 2x real - how?
Randy Yates <yates@[EM  2008-10-10 09:15:55 
Re: Complex to 2x real - how?
Jerry Avins <jya@[EMAI  2008-10-10 11:45:15 
Re: Complex to 2x real - how?
Randy Yates <yates@[EM  2008-10-10 11:44:59 
Re: Complex to 2x real - how?
Randy Yates <yates@[EM  2008-10-10 11:53:13 
Re: Complex to 2x real - how?
Randy Yates <yates@[EM  2008-10-10 13:31:35 
Re: Complex to 2x real - how?
Randy Yates <yates@[EM  2008-10-10 13:57:13 
Re: Complex to 2x real - how?
Randy Yates <yates@[EM  2008-10-12 21:18:04 
Re: Complex to 2x real - how?
Jerry Avins <jya@[EMAI  2008-10-12 22:16:50 
Re: Complex to 2x real - how?
Randy Yates <yates@[EM  2008-10-12 21:31:27 
Re: Complex to 2x real - how?
Randy Yates <yates@[EM  2008-10-12 22:22:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 15:50:58 CST 2008.