DFT Developement (Brandon.Price)

From Class Wiki
Revision as of 18:47, 30 November 2008 by Brandon.price (talk | contribs) (New page: The Fourier Transform is a powerful tool, but how can we use it with computers? Let's take a look at the Fourier Transform and make some observations. <math>X(f) = \mathcal{F}(x(t)) = \i...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Fourier Transform is a powerful tool, but how can we use it with computers?

Let's take a look at the Fourier Transform and make some observations.

Here, we see an integration of time from negative infinity to infinity for the function . This is a problem for several reasons:

1)We have no access to data for a given function before we start observing (so we can't start at time = -infinity).

2) We can't wait until all time passes (ending at time = infinity) to compute the transform.

3) We can't use continuous integration since computers are restricted by finite memory.


We can get around each of these by noting that:

1) We don't care what happened to our signal before we started looking.

2) We don't care what happens to our signal after a certain (short) length of time.

3) we can approximate an integral using a summation (just like Riemann sums from the Calculus).


Our answer will not be the same as the true Fourier Transform, but as engineers, we are prepared to carefully sacrifice some precision for practicality. So, let's call this modification a "Discrete Fourier Transform (DFT)." How do we calculate one and how does it compare to the Fourier Transform?

We start with an infinite continuous signal (in time) and multiply it by a sequence of delta functions, effectively sampling the continuous signal at discrete intervals. The resulting convolution in the frequency domain gives us a periodic frequency function.

Next, we multiply our infinite series of impulse functions by a windowing function (this eliminates the data before and after the length of time we care about). Now we have a discrete representation (N samples) of just the part of the signal we want. In the frequency domain, we once again convolve, resulting in a slightly distorted, periodic frequency signal. (Fewer samples or smaller sample interval results in more distortion in the frequency domain).

We want to work with discrete frequency data too, in the computer, so we multiply the frequency domain by a sequence of impulse functions. The corresponding convolution in time makes our discrete sample periodic.

Now, we have a discrete representation of a small piece of the original continuous signal - both in time and frequency! Comparing the time domain and frequency domain, we can see the the DFT must be defined as:

for

Commonly, we write

Let us reflect on these: