Documente Academic
Documente Profesional
Documente Cultură
<=>
w0 = pi (radians / sample)
1) Discrete-Time Fourier Transform (DTFT) yields the spectrum X(w) of a discrete time
signal, x(n). X(w) is periodic with period = 2 pi and the units of w are radians / sample.
Typically the range of: -pi <= w <= pi is most useful because a sinusoid at w0 = pi
cos( w0 n ) = cos( pi n ) = (-1)^n
is at the highest frequency possible for a discrete signal. (See discussion on sampling.)
X(w) is generally evaluated by hand, in that it involves symbolic manipulation of
functions. Hence it is not considered to be computationally feasible. It is a continuous
function. The DTFT is appropriate for use in hand calculations when the signal x(n) is
known for all time and is expressed in analytic form, such as forms involving sin(),
cos(), exp(), or polynomials, for example. This is not possible for real-world signals that
are digitized and known only in terms of a finite set of samples.
2) The Discrete Fourier Transform, DFT, is a computationally feasible version of the
Fourier Transform. It is designated:
x(n) <= DFT, N => X(k)
where x(n) are samples in the time domain and X(k) are samples in the frequency
domain. There are N samples of both x(n) and X(k). X(k) are samples of the continuous
function. X(w). These samples X(k) occur at frequencies
w = k dw (radians / sample)
where dw is the spacing between samples in the frequency domain.
dw = 2 pi / N (radians / sample)
<=>
dF = Fs / N = 1 / N dT = 1 / L (Hz)
where L is the length of the signal (sec). Since X(k) contains only samples in the
frequency domain, some details of a signals true spectrum, X(w), may not be apparent
in X(k).
3) The Fast Fourier Transform, FFT, refers to a family of algorithms which yield the
exact same result as the DFT, but are computationally efficient. The most common kind
of FFT is the radix-2 type. For this type N = 2^r.
4) The spectrum of a version of a signal having finite duration differs from the spectrum
of its infinite duration version. This is referred to as the spectral leakage effect. For
example, given the signal
x(n) = cos(w0 n)
with infinite duration. Its spectrum X(w), -pi/2 <= w <= pi/2, consists of a pair of
impulses at +/- w0. The finite duration version of this signal can be viewed as a
multiplication of x(n) by a rectangular window function, w(n). This is equivalent to
convolution with a sinc function in the frequency domain. This convolution spreads out
the energy contained in the original two impulses resulting in the spectral leakage
phenomena.
This effect is reduced by having a window w(n) with long duration. For a window of
length L (sec), the zeros of the sinc are separated by 1 / L (Hz). Hence a longer window
results in a narrower sinc and less spectral corruption.
5) The spectral leakage associated with a finite version of an infinite duration signal will
always be apparent in X(w), as found via the DTFT. Because the DFT operates on
versions of signals having finite duration, it naturally causes spectral leakage to occur.
However, spectral leakage may not be evident due to the discrete sampling introduced
by X(k). It will not be evident if, for example, (a) the signal is a single harmonic at F0
where F0 is an integer multiple of dF, and (b), if the spacing between the zeros of the
sinc function (associated with spectral leakage) exactly equals the spectral spacing. If
there is no zero padding of the signal then conditions (a) and (b) amount to the
requirement that
F0 N / Fs = c
where c is any integer. So to determine if spectral leakage will not be observed, compute
c, as above. If c is an integer then leakage will not be observed - regardless of the
duration of the signal, N.
6) Zero padding is the process of concatenating zeros to the end of a signal. This
operation may be performed on any signal, x(n), prior to computing its transform with a
DFT. Zero padding will cause X(k) to approach X(w). Zero padding helps to reveal
spectral leakage effects.
7) Zero padding has additional uses. In order to derive the DFT it was necessary to
make the assumption that x(n) is periodic outside the interval of [0, N-1]. This has an
important implication when evaluating a time-domain convolution x(n)*y(n) by a
frequency-domain multiplication of the spectrums X(k) Y(k), as computed via the DFT.
The point of concern arises because the frequency-domain multiplication corresponds
to convolution of periodic versions of x(n) and y(n). This operation is referred to as
periodic convolution. In general x(n) and y(n) are not periodic in N. In these cases a
technique is needed to yield the same result as linear convolution would, when
evaluated in the time-domain. If x(n) has length L and y(n) has length M, then a linear
convolution can be achieved by first zero padding x(n) and y(n) to a length N:
N = L + M - 1.