Lab 4 - DTFS Analysis
Lab 4 - DTFS Analysis
1.
NAME OF GROUP
MEMBER(S)& 2.
MATRIX NUMBER(S)
3.
COURSE 2 BEEZ
DATE
TOTAL MARKS
1.0 OBJECTIVES
1. To simulate the Discrete-Time Fourier Series of a periodic discrete signal.
2. To plot the magnitude and phase of Discrete-Time Fourier Series (DTFS)
coefficients.
2.0 EQUIPMENT
MATLAB® software.
N −1
jk Ωo n
x [n ]= ∑ X [ k ] e
k =0
Where x[n] is a periodic signal with period N and fundamental frequency o=2/N.
x [ n ]⃗
DTFS ;Ωo X [ k ]
Page2of4
4.0 PROCEDURE
X [ k ]=
1
5 { 1 1
1+ e jk 2 π /5− e− jk 2 π /5
2 2 }
1
¿ {1+ jsin ( k 2 π /5 ) }
5
Where period N=5 and o=2/5
Using MATLAB, type the coding below to plot graph for signal, x[n], and magnitude and
phase of the DTFS coefficient for signal x[n],
NOTE: DTFS coefficient, x[k] also can be plot in “exp” by changing the equation for xk
xk=(1/5)*(1+0.5*exp(0.4*pi*j*k)-0.5*exp(-0.4*pi*k*j));
Page3of4
6.0 QUESTION & DISCUSSION
1. Prove the DTFS coefficient, X[k] for signal, x[n] in Figure 1. Show your calculation.
2. Determine the DTFS coeffiecient of the following signals. Show your calculation and
plot the graph using Matlab. (Attach your codings and graphs)
(a)
(b)
7.0 CONCLUSION
Page4of4