This module will take the ideas of sampling CT signals further by examining how such operations can be performed in the frequency domain and by using a computer.
Introduction
We just covered ideal (and non-ideal) (time)
sampling of CT signals .
This enabled DT signal processing solutions for CTapplications (
):
Much of the theoretical analysis of such systems relied on
frequency domain representations. How do we carry out thesefrequency domain analysis on the computer? Recall the
following relationships:
where
and
are continuous frequency
variables.
Sampling dtft
Consider the DTFT of a discrete-time (DT) signal
. Assume
is of finite duration
(
i.e. , an
-point signal).
where
is the continuous function that is indexed by thereal-valued parameter
. The other function,
, is a discrete function that is indexed by
integers.
We want to work with
on a computer. Why not just
sample
?
In
we sampled at
where
and
for
is called the
Discrete Fourier Transform (DFT) of
.
The DTFT of the image in
is written as follows:
where
is any
-interval, for example
.
where again we sampled at
where
. For example, we take
. In the
following section we will discuss in
more detail how we should choose
, the number of samples in
the
interval.
(This is precisely how we would plot
in Matlab.)
Choosing m
Case 1
Given
(length of
), choose
to obtain a dense sampling of the DTFT (
):
Case 2
Choose
as small as
possible (to minimize the amount of computation).
In general, we require
in order to represent all information in
Let's concentrate on
:
for
and
Discrete fourier transform (dft)
Define
where
and
. In this case,
.
Dft
Inverse dft (idft)
Interpretation
Represent
in terms of a sum of
complex sinusoids of amplitudes
and frequencies
Fourier Series with fundamental frequency
Remark 1
IDFT treats
as though it were
-periodic.
where
What about other values of
?
Remark 2
Proof that the IDFT inverts the DFT for
Computing dft
Given the following discrete-time signal (
) with
,
we will compute the DFT using two different methods (the DFTFormula and Sample DTFT):
DFT Formula
Using the above equation, we can solve and get thefollowing results:
Sample DTFT. Using the same figure,
, we will take the DTFT of the signal and
get the following equations:
Our sample points will be:
where
(
).
Periodicity of the dft
DFT
consists of
samples of DTFT, so
, a
-periodic DTFT signal, can be converted to
, an
-periodic DFT.
where
is an
-periodic basis
function (See
).
Also, recall,
Illustration
When we deal with the DFT, we need to remember that, in
effect, this treats the signal as an
-periodic sequence.
A sampling perspective
Think of sampling the continuous function
, as depicted in
.
will represent the sampling function applied to
and is illustrated in
as well. This will result in our
discrete-time sequence,
.
Remember the multiplication in the frequency domain is equal
to convolution in the time domain!
Inverse dtft of s(Ω)
Given the above equation, we can take the DTFT and get thefollowing equation:
Why does
equal
?
is
-periodic,
so it has the following
Fourier Series :
where the DTFT of the exponential in the above equation
is equal to
.