05 Lab Exer 1
05 Lab Exer 1
Generate signals in discrete Fourier transform via bode and pole-zero plot.
Software Used:
Computer unit with installed Scilab 6.1.0 software
Principle:
Discrete Fourier Transform (DFT) is used for the frequency representation of finite time signals and an alternate form
of the Fourier transform in which the finite length sequences are transformed into other sequences. The DFT, apart from its
importance for the representation of discrete time sequences in the frequency domain, is the basis of many applications of signal
processing, such as spectrum analysis and data encoding.
𝑁−1
where 𝑋(𝜔) is a continuous function of 𝜔 in
𝑋(𝜔) = ∑ 𝑥(𝑛) 𝑒−𝑗𝜔𝑛 the range −𝜋 to 𝜋 or 0 − 2𝜋.
𝑛=0
PROCEDURES:
3. Use the following commands to generate the values for 𝑛, 𝑘 and 𝑒 exponential values:
n = 0:N-1;
k = n;
kn = k' * n;
WN = exp(-%i*(2*%pi)/N) W =
WN.^kn
4. Use the following commands to generate the values for the time domain sequence. Write observations on the generated values.
X = W * x'
disp('DFT of the given time domain sequence is', X)
Observation: The primary distinction between manually calculating the DFT and utilizing sci-lab is that the latter assigns value to the
fictitious unit j or i. All of the numbers obtained from solving the time domain sequence have familiar imaginary units.
5. Use the following commands to generate the values for the magnitude response. Write observations on the generated values.
X_mag = abs(X)
disp('Magnitude response', X_mag)
Observation: As I observed, number 4's output value will only reflect the absolute value of the element X, eliminating all fictitious or
values.
What is the relationship of the time domain sequence with the magnitude response in a domain? Explain.
- The time domain sequence and the magnitude response are connected via the Fourier Transform, which
permits the study and manipulation of signals in the time and frequency domains. Discrete-time signals
are subject to the same DFT in the time and frequency domains.
6. Generate signals using the code below. Draw the figure generated.
figure
subplot(311)
plot2d3(n,x)
subplot(312)
plot2d3(k,X_mag)