Documente Academic
Documente Profesional
Documente Cultură
Task 1: Let x(n) be periodic signal with fundamental period N=50, where one period is given by
𝑛𝑒 −0.3𝑛 , 0 ≤ 𝑛 ≤ 25
𝑥(𝑛) = {
0 , 26 ≤ 𝑛 ≤ 49
1.2
1
magnitude
0.8
0.6
0.4
0.2
0
0 5 10 15 20 25 30 35 40 45 50
n
These equations are used to find DFS of the signal. Thus a signal and its Fourier coefficients can be found
out in Matlab using above equations.
Task 2: Determine the periodic sequence given by the following DFS coefficients.
Ck = [0,j,-2j,-j] N=4
Ck = [0,1i,-2j,-1i];
N=4;
n=[0:N-1];
k=[0:N-1];
WN=exp(-1i*2*pi/N);
nk=n'*k;
WNnk=WN .^ (-nk);
x=(Ck * WNnk)/N
x=
Task 3: Determine DTFT of the following sequences and plot the magnitude and angle.
0
-5 -4 -3 -2 -1 0 1 2 3 4 5
n
angX
4
2
magnitude
-2
-4
-5 -4 -3 -2 -1 0 1 2 3 4 5
n
Fourier transform equation is used to find DTFT of the signal and then angX and magX commands are
used to find angle and magnitude of the signal.