On Fri, 3 Oct 2008 07:28:53 -0700 (PDT),
[email protected]
wrote:
>On Oct 3, 6:43*am, Rick Lyons > Hello Bulegoge,
>>
>> * * *From my experience, in DSP we cannot have
>> a discrete sinusoidal signal whose frequency is
>> more positive than Fs/2 or more negative than -Fs/2.
>> I say that based on my understanding of (1) the
>> Nyquist sampling criterion, (2) Euler's equations,
>> and (3) the frequency range of the Unit Circle in
>> the theory of the z-transform.
>>
>> Try generating a real-valued discrete sequence
>> representing an integer number of cycles of
>> a sampled sinusoid whose frequency
>> is more positive than +Fs/2. *When you perform
>> the FFT on that sequence you will see that the
>> positive-frequency spectral energy will always
>> be somewhere in the range of 0 -to- +Fs/2.
>>
>> What we can say is: that real sinusoidal sequence has
>> an infinite number of positive-frequency spectral
>> components (aliases), one of which will always
>> be in the range of 0 -to- +Fs/2. *For real-valued
>> input sinusoidal sequences, the FFT enables us to
>> determine the frequency of the one spectral component
>> residing in the range of 0 -to- +Fs/2.
>>
>> With a real-valued input to an FFT, the FFT's
>> "independent" frequency range of analysis is
>> 0 -to- +Fs/2 Hz. *(In this case, the FFT's
>> negative-frequency samples are conjugates of
>> the positive-frequency components, and are
>> thus NOT independent.)
>>
>> With a complex-valued input to an FFT, the FFT's
>> "independent" frequency range of analysis is
>> -Fs/2 -to- +Fs/2 Hz. *(In this case, all of
>> the FFT's frequency samples are independent.) *
>>
>> At least, that's my opinion,
>> [-Rick-]
>
>Thanks for the input Rick. So my conclusion that you get twice the
>bandwidth is correct, except I missunderstood the +/-Fs part of it.
>Now I have to scratch my head and figure out what an independent set
>of negative frequencies means.
Hi,
Well, the notion of negative frequency is a bit
troublesome to think about when we first encounter it.
I've even read, over the years, a few sig. proc.
articles and an in one textbook that "negative frequencies
don't exist." I cannot defend the idea of negative
frequency in the time domain, but I sure can defend the
idea of negative frequency in the frequency domain.
Our hero Leonard Euler showed how a real-valued cosine wave,
of frequency Fo Hz, can be described as the sum a
positive-frequency complex exponential (of frequency Fo Hz)
and a negative-frequency complex exponential (of frequency
Fo Hz).
If you perform the FFT on a real-valued discrete sequence
representing an integer number of cycles of a sampled
cosine wave whose frequency is Fo Hz, your FFT results
will show both positive- and negative-frequency spectral
components. Those spec components are exactly what Euler
described in his equations.
Now, say you created a complex-valued discrete sequence
representing an integer number of cycles of a sampled
complex exponential wave whose frequency is -Fo Hz.
That sequence could be expressed as:
x(n) = e^(-j*2*pi*Fo*n/Fs)
= cos(2*pi*Fo*n/Fs) -j*sin(2*pi*Fo*n/Fs)
If you perform the FFT on the above x(n) time sequence
your FFT results will show *only* a negative-frequency
spectral component.
This whole subject is *NOT* mathematical mumbo-jumbo.
Figure 8-7 of the 2nd edition of my book shows how to
generate an analog complex exponential (x(t)) in the
laboratory (with real-world) electronic equipment.
>
>BTW, I want to thank you for writing your book. I have been studying
>DSP seriously for almost two years now and I would not be anywhere
>near where I am in my understanding without your book. ( I am an EE
>that has done RF design for years). I am digging through a bunch of
>assembly code to understand a radio , and just this week your book
>helped me decifer a Complex Band Pass FIR filter that they
>implemented.
Ah ha. Great. I'm tickled to hear that.
Thanks for sharing that with me.
Bulegoge, if I haven't said it before, then I'll
say it now:
If you have an American version of the 2nd Edition of
my "Understanding DSP" book, I can send you the appropriate
errata if you can tell me the "Printing Number" of
your copy of the book.
You can determine the "Printing Number" of the American
version (ISBN# 0-13-108989-7) of the 2nd Edition of my
book by looking at the page just before the "Dedication"
page.
On that page (before the Dedication) you'll see all
sorts of publisher-related information, including the
ISBN number. Down toward the bottom of the page you
should see lines printed something like:
Printed in the United States of America
First Printing
indicating the "First Printing" of the book. However, for
later printings the second line above may have the words
like: "Second Printing" or "Seventh Printing".
>I struggled greatly with decimation becuase I was expecting a LPF
>process to occur prior to the decimation, and in the code the
>decimation occured before the filtering. I realized that even though
>the decimation occured before the FIR convolution, that they were
>drawing the filter samples from a buffer that occured at the higher
>sampling rate (as your book made me know must be true). They just did
>the calculations at the lower rate, but used the higher rate data
>samples to not do the filter calculations on the points that were
>going to get tossed anyhow.
Humm, that sounds like "polyphase decimation filtering" to me.
Regards,
[-Rick-]