Sale!

EE430 Homework 2 solution

$30.00 $25.50

Category:

Description

5/5 - (4 votes)

1) Impulse responses of some LTI systems are given below. Let π‘₯[𝑛] = 3
𝑛 be the input signal of these
systems. Determine those systems for which their output signals can be expressed as 𝑦[𝑛] = 𝐢 3
𝑛 where
C is a complex constant. Explain formally.
a) β„Ž[𝑛] = (
1
2
)
𝑛
𝑒[𝑛] + 2
𝑛𝑒[𝑛]
b) β„Ž[𝑛] = (
1
2
)
𝑛
𝑒[𝑛] + 2
𝑛𝑒[βˆ’π‘›]
c) β„Ž[𝑛] = 5
𝑛𝑒[βˆ’π‘›]
d) β„Ž[𝑛] = 3
𝑛𝑒[𝑛]
2) Find the impulse responses of the stable LTI systems having the following system functions. Which of
them are causal? Plot the pole-zero diagrams and show their ROCs.
a) 𝐻(𝑧) =
2𝑧
βˆ’1+1
(1βˆ’
1
4
π‘§βˆ’1)(1+
2
3
π‘§βˆ’1)(1+
1
4
π‘§βˆ’1)
b) 𝐻(𝑧) =
π‘§βˆ’4
(1βˆ’3π‘§βˆ’1)(1βˆ’5π‘§βˆ’1)
c) 𝐻(𝑧) =
𝑧
βˆ’1
(1βˆ’
1
4
π‘§βˆ’1)(1βˆ’
1
3
π‘§βˆ’1)
d) 𝐻(𝑧) =
1
(1βˆ’
1
2
π‘§βˆ’1)
3
3) The impulse response of a LTI system is
β„Ž[𝑛] = 𝛿[𝑛] βˆ’ √2𝛿[𝑛 βˆ’ 1] + 𝛿[𝑛 βˆ’ 2].
a) Find the system function 𝐻(𝑧). Plot the pole-zero diagram, indicate ALL poles and zeros, show
the ROC.
b) Does this system have a frequency response? Why? If yes, plot its magnitude and phase.
c) Find the output of this system to the following input signals
π‘₯1
[𝑛] = sin (
πœ‹
4
𝑛 +
πœ‹
4
)
π‘₯2
[𝑛] = sin (
πœ‹
4
𝑛 +
πœ‹
4
) 𝑒[𝑛]
π‘₯3
[𝑛] = sin (
πœ‹
4
𝑛 +
πœ‹
4
) + sin (
3πœ‹
4
𝑛)
d) Comment on the relationship between the frequency response and zero locations of 𝐻(𝑧).
4) The system function of a LTI system is
𝐻(𝑧) =
1 βˆ’ √2𝑧
βˆ’1 + 𝑧
βˆ’2
1 βˆ’ 2𝑧
βˆ’1
.
When the input is sin (
πœ‹
2
𝑛), the output of this system is √
2
5
sin (
πœ‹
2
𝑛 + tanβˆ’1
1
2
).
a) Find the impulse response of this system.
b) Is the system causal?
c) Find the difference equation for this system.
6) The z-transform, 𝑋(𝑧), of a right –sided sequence π‘₯[𝑛] exists for 𝑧 = 4𝑒
π‘—πœ”, 0 ≀ πœ” < 2πœ‹. Show that
𝑋(𝑧) exists for = 4.1𝑒
π‘—πœ”, 0 ≀ πœ” < 2πœ‹ , but not necessarily for 𝑧 = 3.9𝑒
π‘—πœ”, 0 ≀ πœ” < 2πœ‹ .
7) What are the ROCs of the z-transforms of the following sequences?
a) π‘₯[𝑛] = 𝛿[𝑛 + 3] + 𝛿[𝑛 βˆ’ 3]
b) π‘₯[𝑛] = 𝛿[𝑛 + 3]
c) π‘₯[𝑛] = 𝛿[𝑛 βˆ’ 3]
8) Let π‘₯[𝑛] = 𝛿[𝑛 + 1] + (
1
2
)
𝑛
𝑒[𝑛]. Find the z-transforms of the following sequences. What are the
ROCs? State all poles and zeros.
a) π‘₯[𝑛]
b) π‘₯[𝑛 βˆ’ 5]
c) 𝑛π‘₯[𝑛]
d) cos (
πœ‹
2
𝑛) π‘₯[𝑛]
9) The pole-zero plot of the system function, 𝐻(𝑧), of a stable LTI system is
shown. It is known that 𝐻(1) = 1.
a. Show the ROC. Determine the impulse response β„Ž[𝑛].
b. Let β„Ž1
[𝑛] = β„Ž[βˆ’π‘› + 2]. Sketch the pole-zero plot for 𝐻1
(𝑧) show
its ROC.
Re
Im
1
10) The output of a stable LTI system is 𝑦[𝑛] = 𝛿[𝑛 + 1] + 2𝛿[𝑛] + 𝛿[𝑛 βˆ’ 1] when its input is π‘₯[𝑛] =
βˆ’2𝛿[𝑛 + 2] βˆ’ 4𝛿[𝑛 + 1] + 4𝛿[𝑛 βˆ’ 1] + 2𝛿[𝑛 βˆ’ 2]. Find its impulse response β„Ž[𝑛].
11) Problem 3.30 of textbook.
12) Problem 3.52 of textbook.
13) Problem 3.58 of textbook.
14) Let π‘₯[𝑛] = 𝛿[𝑛] + 3𝛿[𝑛 βˆ’ 1] + 𝛿[𝑛 βˆ’ 2].
a. Plot π‘₯[𝑛] and its periodic extension, π‘₯Μƒ[𝑛], for 𝑁 = 3 and 𝑁 = 5.
π‘₯̃𝑁[𝑛] = βˆ‘ π‘₯[𝑛 βˆ’ π‘˜π‘]
∞
π‘˜=βˆ’βˆž
= π‘₯ [((𝑛))
𝑁
]
b. Find the Discrete Fourier Series (DFS) coefficients, 𝑋̃
3
[π‘˜], of π‘₯Μƒ3
[𝑛]. Write the DFS
representation of π‘₯Μƒ3
[𝑛].
c. Find the Discrete Fourier Series (DFS) coefficients, 𝑋̃
5
[π‘˜], of π‘₯Μƒ5
[𝑛]. Write the DFS
representation of π‘₯Μƒ5
[𝑛].
d. Find the DTFT, 𝑋(𝑒
π‘—πœ”), of π‘₯[𝑛]. Plot its magnitude and phase.
e. Verify that 𝑋̃
3
[π‘˜] = 𝑋(𝑒
π‘—πœ”)|
πœ”=π‘˜
2πœ‹
3
and 𝑋̃
5
[π‘˜] = 𝑋(𝑒
π‘—πœ”)|
πœ”=π‘˜
2πœ‹
5
, i.e., uniformly spaced
samples of DTFT of π‘₯[𝑛]. Show these samples on the magnitude and phase plot of 𝑋(𝑒
π‘—πœ”).
f. Compute the sample values of π‘₯Μƒ3
[𝑛] and π‘₯Μƒ5
[𝑛] using their DFS representations and their
DFS coefficients you found in parts (b) and (c), respectively.
15)
a. Find the 3-point and 5-point DFTs (𝑋3
[π‘˜] and 𝑋5
[π‘˜]) of π‘₯[𝑛] given in Question-14.
b. What is the relationship between 𝑋3
[π‘˜] and 𝑋̃
3
[π‘˜], and 𝑋5
[π‘˜] and 𝑋̃
5
[π‘˜]?
c. How would you find π‘₯[𝑛] using its 3-point and 5-point DFTs?
d. Find 𝑋3
[π‘˜] and 𝑋5
[π‘˜] using MATLAB.
16) Let 𝑦[𝑛] = 𝛿[𝑛 βˆ’ 2] + 3𝛿[𝑛 βˆ’ 3] + 𝛿[𝑛 βˆ’ 4] and 𝑧[𝑛] = 3𝛿[𝑛] + 𝛿[𝑛 βˆ’ 1] + 𝛿[𝑛 βˆ’ 4]
a. Plot 𝑦[𝑛] and 𝑧[𝑛].
b. Relate 𝑦[𝑛] and 𝑧[𝑛] to π‘₯[𝑛] of Question-14
c. Find the 5-point DFTs, π‘Œ5
[π‘˜] and 𝑍5
[π‘˜], of 𝑦[𝑛] and 𝑧[𝑛]. Do they have 3-point DFTs? Why?

17) Let π‘ŠΜƒ [π‘˜] = 𝑋(𝑒
π‘—πœ”)|
πœ”=π‘˜
2πœ‹
2
, i.e., two (uniformly spaced) samples from each period of 𝑋(𝑒
π‘—πœ”), DTFT
of π‘₯[𝑛] in Question-14.
a. Find the periodic sequence 𝑀̃[𝑛] whose DFS coefficients are π‘ŠΜƒ [π‘˜].
b. Find the relationship between 𝑀̃[𝑛] and π‘₯[𝑛].
18) (Generalization of the result in Question-17) Let π‘₯[𝑛] be an arbitrary sequence with a DTFT
𝑋(𝑒
π‘—πœ”)and
π‘ŠΜƒ [π‘˜] = 𝑋(𝑒
π‘—πœ”)|
πœ”=π‘˜
2πœ‹
𝑀
i.e., 𝑀 (uniformly spaced) samples from each period of 𝑋(𝑒
π‘—πœ”). Also let 𝑀̃[𝑛] be the periodic
sequence whose DFS coefficients are π‘ŠΜƒ [π‘˜].
a) Show that
𝑀̃[𝑛] = βˆ‘ π‘₯[𝑛 βˆ’ π‘˜π‘€]
∞
π‘˜=βˆ’βˆž
b) Assuming that π‘₯[𝑛] has finite length 𝑁. Comment on the cases 𝑀 β‰₯ 𝑁 and 𝑀 < 𝑁.
c) Verification using MATLAB. You may use the following code to verify for different values of
𝑀 and 𝑁.
clear all
close all
N = 10;
n = 0:(N-1);
x = 1:N;
M = 3;
% M = 5;
% M = 7;
% M = 10;
% M = 15;
W_M = exp(-j*2*pi/M);
F = W_M .^ n ;
for k = 0:(M-1)
DFT_matrix(k+1,:) = F.^k;
end
Z = DFT_matrix * x’;
z = ifft(Z)
19) Let π‘₯[𝑛] = 3𝛿[𝑛] βˆ’ 2𝛿[𝑛 βˆ’ 1] + 𝛿[𝑛 βˆ’ 2] + 𝛿[𝑛 βˆ’ 3] βˆ’ 2𝛿[𝑛 βˆ’ 4] βˆ’ 𝛿[𝑛 βˆ’ 5].
You do not need to compute any DFTs in parts (a)-(c)!
a) Let π‘Š3
[π‘˜] = 𝑋(𝑒
π‘—πœ”)|πœ”=π‘˜
2πœ‹
3
, π‘˜ = 0,1,2. Find the sequence 𝑀3
[𝑛] whose 3-point DFT is π‘Š3
[π‘˜].
b) Let π‘Š5
[π‘˜] = 𝑋(𝑒
π‘—πœ”)|πœ”=π‘˜
2πœ‹
5
, π‘˜ = 0,1,2,3,4. Find the sequence 𝑀5
[𝑛] whose 5-point DFT is
π‘Š5
[π‘˜].
c) Let π‘Š8
[π‘˜] = 𝑋(𝑒
π‘—πœ”)|πœ”=π‘˜
2πœ‹
8
, π‘˜ = 0,1,2,3,4,5,6,7. Find the sequence 𝑀8
[𝑛] whose 8-point DFT is
π‘Š8
[π‘˜].
Let β„Ž[𝑛] = 2𝛿[𝑛] βˆ’ 1𝛿[𝑛 βˆ’ 1] be the impulse response of a LTI system.
You do not need to compute any DFTs in parts (d)-(f)!
d) Let 𝐻3
[π‘˜] be the 3-point DFT of β„Ž[𝑛]. Find the sequence 𝑦3
[𝑛] whose 3-point DFT is π‘Š3
[π‘˜]𝐻3
[π‘˜].
e) Let 𝐻5
[π‘˜] be the 5-point DFT of β„Ž[𝑛]. Find the sequence 𝑦5
[𝑛] whose 5-point DFT is π‘Š5
[π‘˜]𝐻5
[π‘˜].
f) Let 𝐻8
[π‘˜] be the 8-point DFT of β„Ž[𝑛]. Find the sequence 𝑦8
[𝑛] whose 8-point DFT is
π‘Š8
[π‘˜]𝐻8
[π‘˜].
g) Describe the relationships between the sequence 𝑦[𝑛] = π‘₯[𝑛] βˆ— β„Ž[𝑛] and the sequences
𝑦3
[𝑛], 𝑦5
[𝑛], 𝑦8
[𝑛].
20) Let π‘₯[𝑛] be a sequence of length 𝑁; 𝑁 is even. Let 𝑋[π‘˜] be its 𝑁-point DFT.
a) Show that 𝑋[π‘˜] can be written as
𝑋[π‘˜] = 𝐸 [((π‘˜))𝑁
2
] + 𝑒
βˆ’π‘—π‘˜2πœ‹
𝑁 𝑂 [((π‘˜))𝑁
2
] π‘˜ = 0,1, … , 𝑁 βˆ’ 1
where 𝐸[π‘˜] and 𝑂[π‘˜] are the 𝑁
2 EE430 Homework 2
-point DFTs of 𝑒[𝑛] = π‘₯[2𝑛] and π‘œ[𝑛] = π‘₯[2𝑛 + 1], respectively.
b) Assume that π‘₯[𝑛] is real.
i. Count the number of real multiplications and real additions in the direct computation of 𝑋[π‘˜].
ii. Count the number of real multiplications and real additions in the computation of [π‘˜]
according to the right hand side of the above expression.
iii. Compare the numbers of arithmetic operations in these two cases.
21) Let β„Ž[𝑛] = 2𝛿[𝑛] βˆ’ 𝛿[𝑛 βˆ’ 1] + 𝛿[𝑛 βˆ’ 2] be the impulse response of a LTI system and
π‘₯[𝑛] = [1 2 3 4 βˆ’ 1 βˆ’ 2 βˆ’ 3 βˆ’ 4 1 2 3 4] 0 ≀ 𝑛 < 11
be an input to this system. The output 𝑦[𝑛] will be found by using the overlap-add method. Take
the length, 𝐿, of the input segments as 𝐿 = 4.
a) How many point DFTs will be used in this computation?
b) How many input segments are there? Write all of them.
c) Find the response of the system to the individual input segments (use MATLAB; find DFTs,
multiply them and then take inverse DFT).
d) Obtain the whole output sequence by using the responses to input segments.
22) Overlap-save method will be used for the setting in Question-16.
Take the length, 𝐿, of the input segments as 𝐿 = 6. Use 7-point DFTs. Answer parts (b)-(d).
23) π‘₯[𝑛] is a finite length sequence defined to be zero for 𝑛 < 0 and 𝑛 > 𝑁 βˆ’ 1. DTFT of π‘₯[𝑛] is 𝑋(𝑒
π‘—πœ”).
a) π‘Œ1
[π‘˜] is obtained by taking 𝐿 , (𝑁
2
< 𝐿 < 𝑁), uniform samples of 𝑋(𝑒
π‘—πœ”) in 0 ≀ πœ” < 2. 𝑦1
[𝑛] is
the result of 𝐿-point IDFT of π‘Œ1
[π‘˜]. Find the indices of samples of 𝑦1
[𝑛] such that 𝑦1
[𝑛] = π‘₯[𝑛].
b) Let π‘₯[𝑛] = [1 2 βˆ’ 1 βˆ’ 2 3], 0 ≀ 𝑛 ≀ 4 and π‘Œ2
[π‘˜] = 𝑒
βˆ’π‘—
4πœ‹
5 𝑋[π‘˜] where 𝑋[π‘˜] is the 5-point DFT
of π‘₯[𝑛]. Find the 5-point IDFT of π‘Œ2
[π‘˜].
c) Two finite length sequences π‘₯1
[𝑛] = [1 βˆ’ 1 βˆ’ 2 3 2 1] , 0 ≀ 𝑛 ≀ 5, and π‘₯2[𝑛] = [2 1 3 4 βˆ’
1 2] , 0 ≀ 𝑛 ≀ 5 are given. Find the 6-point circular convolution of these sequences.
d) Let π‘₯[𝑛] = [3 βˆ’ 1 4 1 2 βˆ’ 1 βˆ’ 3], 0 ≀ 𝑛 ≀ 6. Find the periodic even part of this sequence,
π‘₯𝑝𝑒[𝑛]. Also find the 7-point DFT of π‘₯𝑝𝑒[𝑛].
24) Let π‘₯[𝑛] = [0 1 3 βˆ’ 2 2 4], 0 ≀ 𝑛 ≀ 5, and 𝑋[π‘˜] be its 10-point DFT.
Answer the following questions by using the DFT properties.
a) Find the sequence whose 10-point DFT is 𝑋
2
[π‘˜].
b) Find the sequence whose 10-point DFT is 𝑒
π‘—πœ‹π‘˜π‘‹[π‘˜].
c) Find the sequence whose 5-point DFT is 𝑍[π‘˜] = 𝑋[2π‘˜], π‘˜ = 0,1, … ,4.
25) Let 𝑣[𝑛] be a real sequence of length 2𝑁 with a 2𝑁-point DFT 𝑉[π‘˜]. 𝑔1
[𝑛] and 𝑔2
[𝑛] are obtained
from the even and odd indexed sequences of 𝑣[𝑛] as,
𝑔1
[𝑛] = 𝑣[2𝑛], 𝑔2
[𝑛] = 𝑣[2𝑛 + 1], 0 ≀ 𝑛 ≀ 𝑁 βˆ’ 1
with 𝑁-point DFT’s 𝐺1
[π‘˜] and 𝐺2
[π‘˜] respectively. Define a new complex sequence
π‘₯[𝑛] = 𝑔1
[𝑛] + 𝑗 𝑔2
[𝑛], 0 ≀ 𝑛 ≀ 𝑁 βˆ’ 1 .
a) Find 𝑋
βˆ—
[( (βˆ’π‘˜))
𝑁
], in terms of 𝐺1
[π‘˜] and 𝐺2
[π‘˜].
b) Determine 𝐺1
[π‘˜] and 𝐺2
[π‘˜], in terms of 𝑋[π‘˜].
c) Determine the 2𝑁-point DFT 𝑉[π‘˜] in terms of 𝑁-point DFTs 𝐺1
[π‘˜] and 𝐺1
[π‘˜].
26) π‘₯[𝑛] is a finite length sequence, nonzero only for 0 ≀ 𝑛 ≀ 5 and β„Ž[𝑛] is a sequence nonzero only
for 0 ≀ 𝑛 ≀ 4. Let π‘Œ6
[π‘˜] = 𝑋6
[π‘˜]𝐻6
[π‘˜] where 𝑋6
[π‘˜] and 𝐻6
[π‘˜] are the 6-point DFTs of π‘₯[𝑛] and β„Ž[𝑛],
respectively. 6-point IDFT of π‘Œ6
[π‘˜], 𝑦6
[𝑛], is
𝑦6
[𝑛] = [βˆ’4 βˆ’ 6 βˆ’ 5 1 14 0 ] 0 ≀ 𝑛 ≀ 7.
Similarly, 𝑦8
[𝑛] is the 8-point IDFT of π‘Œ8
[π‘˜] = 𝑋8
[π‘˜]𝐻8
[π‘˜] where 𝑋8
[π‘˜] and 𝐻8
[π‘˜] are the 8-point DFTs
of π‘₯[𝑛] and β„Ž[𝑛], respectively. 𝑦8[𝑛] is
𝑦8
[𝑛] = [1 7 0 βˆ’ 3 βˆ’ 1 14 0 βˆ’ 7 βˆ’ 11] 0 ≀ 𝑛 ≀ 7
Find the sample values of the sequence, 𝑦[𝑛] = π‘₯[𝑛] βˆ— β„Ž[𝑛], which is the linear convolution of π‘₯[𝑛] and
β„Ž[𝑛].
27) The Fourier series coefficients of a periodic sequence π‘₯Μƒ[𝑛] are
𝑋̃[π‘˜] = [6 4 βˆ’ 2 4] for π‘˜ = 0,1,2,3
a) Find π‘₯Μƒ[𝑛].
b) Find the sequence π‘₯[𝑛] whose whose DFT is 𝑋[π‘˜] = {
𝑋̃[π‘˜] π‘˜ = 0,1,2,3
0 π‘œ. 𝑀.
c) Find the sequence 𝑦[𝑛] whose DFT is
π‘Œ[π‘˜] = {
𝑋̃[π‘˜ βˆ’ 2] π‘˜ = 0,1,2,3
0 π‘œ. 𝑀.
d) Find the sequence 𝑀[𝑛] whose DFT is
π‘Š[π‘˜] = {
𝑋 [((π‘˜ + 2))
4
] π‘˜ = 0,1,2,3
0 π‘œ. 𝑀.
28) Let π‘₯[0] = π‘Ž, π‘₯[1] = 𝑏, π‘₯[2] = 𝑐, π‘₯[3] = 𝑑 and π‘₯[𝑛] = 0 for 𝑛 < 0 and 𝑛 > 3. Let
𝑦[𝑛] = 𝑋(𝑒
π‘—πœ”)|
πœ”=𝑛
2πœ‹
3
𝑛 = 0,1,2
Find the 3-point DFT of 𝑦[𝑛] in terms of {π‘Ž, 𝑏, 𝑐, 𝑑}
29) Let 𝐴𝑁[π‘˜] denote 𝑁-point DFT of a sequence π‘Ž[𝑛].
Let 𝑝[𝑛] β‰œ 𝐼𝐷𝐹𝑇{𝑋4
[π‘˜]𝐻4[π‘˜]} and 𝑠[𝑛] β‰œ 𝐼𝐷𝐹𝑇{𝑋5
[π‘˜]𝐻5[π‘˜]}
𝑝[𝑛] = {
[1 3 0 βˆ’ 2] 𝑛 = 0,1,2,3
0 π‘œ. 𝑀.
𝑠[𝑛] = {
[6 0 βˆ’ 1 βˆ’ 2 βˆ’ 1] 𝑛 = 0,1,2,3,4
0 π‘œ. 𝑀.
Find the output of the system with impulse response β„Ž[𝑛] when π‘₯[𝑛] is its input.
30) π‘₯[𝑛] and β„Ž[𝑛] are 4-point sequences. Their linear convolution is 𝑦[𝑛], i.e. 𝑦[𝑛] = π‘₯[𝑛] βˆ— β„Ž[𝑛].
𝑦[𝑛] is given as 𝑦[𝑛] = [βˆ’2 1 5 1 βˆ’ 2 βˆ’ 2 1] for 𝑛 = 0,1, … 6.
Let 𝑧[𝑛] = π‘₯ [((𝑛 βˆ’ 2))
4 EE430 Homework 2
].
Find the 4-point circular convolution of 𝑧[𝑛] and β„Ž[𝑛].
31) Let π‘₯[𝑛] be a 𝑁-point real sequence (π‘₯[𝑛] = 0, 𝑛 βˆ‰ {0,1, … , 𝑁 βˆ’ 1}).
a) What is the periodic conjugate symmetric part, π‘₯𝑝𝑒[𝑛], (periodic even part in this case) of π‘₯[𝑛]?
Write its definition.
Let π‘₯[𝑛] = 𝛿[𝑛] βˆ’ 𝛿[𝑛 βˆ’ 1] + 2𝛿[𝑛 βˆ’ 2] for the following parts.
b) Find and plot π‘₯𝑝𝑒[𝑛].
c) Express the DFT, 𝑋̂[π‘˜], of π‘₯𝑝𝑒[𝑛] in terms of 𝑋[π‘˜], the DFT of π‘₯[𝑛]. Also,
i. Find 𝑋̂[π‘˜] of your π‘₯[𝑛] in part (a).
ii. Plot 𝑋̂[π‘˜].
d) Plot the periodic conjugate anti-symmetric part, π‘‹π‘π‘œ[π‘˜], of 𝑋[π‘˜].
e) Find the sequence, π‘₯ΜΏ[𝑛] whose DFT is π‘‹π‘π‘œ[π‘˜].
32) Let π‘₯[𝑛] = 3𝛿[𝑛] + 2𝛿[𝑛 βˆ’ 1] + 𝛿[𝑛 βˆ’ 2] + 2𝛿[𝑛 βˆ’ 3]
a) Plot π‘₯[𝑛].
b) Find and plot the DFT, 𝑋[π‘˜], (magnitude and phase) of π‘₯[𝑛].
c) Find the sequence, 𝑦[𝑛], whose DFT is π‘₯[π‘˜] = 3𝛿[π‘˜] + 2𝛿[π‘˜ βˆ’ 1] + 𝛿[π‘˜ βˆ’ 2] + 2𝛿[π‘˜ βˆ’ 3].
d) You are given a software that computes 𝑁-point DFTs of complex sequences. You are not
allowed to modify it. How can you use it to compute inverse-DFTs. Clearly describe any preand/or post-processing needed.
33) Which of the following sequences’ DFTs can be expressed as 𝐴[π‘˜]𝑒
π‘—π›Όπ‘˜ where 𝐴[π‘˜] is real or
imaginary, and 𝛼 is a constant. For those that can be expressed as such find 𝐴[π‘˜] and 𝛼. (DFT sizes are
equal to the lengths of the sequences.)
a)
b)
3
2
-3
-2
1 2 3 𝑛
4
2
1 2 3 𝑛
c)
34)
a) Determine the polynomial result of (1+3z-1
-4z-2
)( -1+2z-1
-3z-2 +z-3+7z-4
) using β€œconv” command in
MATLAB.
b) Let us consider
𝑋(𝑧) =
1βˆ’3𝑧
βˆ’1+4𝑧
βˆ’2
1βˆ’π‘§βˆ’1+π‘§βˆ’2βˆ’π‘§βˆ’3
Using β€œresiduez” command, determine the inverse z transform of 𝑋(𝑧).
c) Let us consider
𝑋(𝑧) =
1βˆ’0.2𝑧
βˆ’1βˆ’1.2𝑧
βˆ’2
1βˆ’0.9π‘§βˆ’1+0.81π‘§βˆ’2
.
Using β€œzplane” command, plot the pole-zero plot of 𝑋(𝑧). Plot also the magnitude and phase
characteristics of it using β€œfreqz” command. Comment on the relationship between the frequency
response and zero & pole locations of 𝑋(𝑧).
35)
a) Write a MATLAB function named β€œmydft” which computes the N-point DFT of a given sequence.
Find the 9-point DFT of x[n]=[ 1 2 3 4 5 6 7] using this function. Plot the result.
b) Find the 9-point DFT of x[n] in part a) using β€œfft” function. Verify your function comparing the
results of part a) and part b).
c) Consider π‘₯[𝑛] = 2cos (
πœ‹
13
𝑛 βˆ’
πœ‹
8
) + 5 sin (
πœ‹
5
𝑛 +
πœ‹
2
) .
Obtain 130-point DFT of π‘₯[𝑛] for 𝑛 = 0, … ,129. Plot the magnitude and phase of DFT and
explain your observations. At which frequency bins the peaks of the magnitude of DFT occur?
What are the magnitudes at these frequency bins? What are the phases of DFT at these
frequency bins? What are the magnitudes at the other frequency bins? Comment on your
observations.
4
2
1 2 3 4 5 6 𝑛

EE430 Homework 2