Professional Documents
Culture Documents
Lab 6 PDF
Lab 6 PDF
30 SEP 2013
Contents
1. OBJECTIVE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. THEORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.1 Discrete Time Fourier Transform . . . . . . . . . . . . . . 2
2.2 Discrete Fourier Transform . . . . . . . . . . . . . . . . . . 2
2.3 Circular Convolution . . . . . . . . . . . . . . . . . . . . . 3
3.PROCEDURE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4.FIGURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
5.RESULTS AND DISCUSSION . . . . . . . . . . . . . . . . . . . 11
6.BIBLIOGRAPHY . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1
1.OBJECTIVE
1. To sample the given sinusoidal signal and to plot the frequency spec-
trum of it and also the magnitude spectrum for different values of N
2. To obtain the DFT of the sampled signal using the given formula for
three different values of N and compare it.
3. To obtain the respective 5 point DFT of the given two discrete signals
and multiply them to observe the property of circular convolution.
2.THEORY
2.1 DISCRETE TIME FOURIER TRANSFORM
[1] Discrete Time Fourier Transform (DTFT) is defined as the frequency
domain representation of the discrete time signal. It can be considered to be
obtanined by discretizing the continuous time Fourier transform in time. If
x(n) is the discrete time signal whose DTFT is X(ejω ), then DTFT can be
given as
X∞
X(ejω ) = x(n)e−jωn (1)
n=−∞
Since ejωn is periodic in ω with period 2π, X(ejω ) is also periodic in ω with
period 2π and it is continous in ω.
Given the DTFT of a signal X(ejω ), the signal x(n) can be obtained using
the inverse DTFT formula given as
Z 2π
1
x(n) = X(ejω )ejωn dω (2)
2π 0
2
DFT is a form of the signal suitable for computation. There exists vari-
ous computationally efficient algorithms like Fast Fourier Transform (FFT)
algorithms for computing the DFT of a signal. Given the DFT of a signal,
X(K), we can get back the signal x(n) by taking the Inverse Discrete Fourier
Transform (IDFT) of the signal. It is given as
N −1
1 X 2πjnk
x(n) = X(K)e N (4)
N K=0
where x((m−n))N represents the circular shift of the flipped sequence x(−n)
by an amount m in the anticlockwise direction. yc (n) can also be obtained
as
yc (n) = IDF T (X1 (k)X2 (K)) (6)
where X1 (K) and X2 (K) are the N point DFTs of x1 (n) and x2 (n)
3
3.PROCEDURE
1. The given sinusoidal signal x(t)=3sin(2πF t) is sampled at the given
sampling rate and its magnitude spectrum is plotted.
2. The magnitude spectrum is now again sampled for three different values
of N and its corresponding plot is observed
3. Using the given formula, the DFT of the given sampled signal is ob-
tained and compared to the previous obtained plots
4. Two discrete finite length sequences are given and their respective 5
point DFT are found by padding required number of zeros for corre-
sponding signals and the two DFTs of the signals are multiplied and
its plot is observed.
4
4.FIGURES
5
Figure 2: DTFT of 3sin(2πF t) for N=5
6
Figure 4: DTFT of 3sin(2πF t) for N=100
7
Figure 6: DFT of 3sin(2πF t) for N=50
8
Figure 8: 5 point DFT of [1 2 3]
9
Figure 10: Product of DFTs of x1 and x2
10
Figure 12: 5 point DFT of cirular convolution of [1 2 3] and [2 3]
6.BIBLIOGRAPHY
1 J. G. Proakis and D. G. Manolakis, Digital Signal Processing, Fourth
Edition, Pearson, 2007.
11