Professional Documents
Culture Documents
P01 (2.5 marks): Consider the analog signal xa(t) = x1(t) + x2(t) + x3(t) = cos(480t) + 2cos(560t) + 3cos(640t)
sampled at Fs = 600Hz.
a) Determine the fundamental period of the sampled signal x1(n)? (0.5)
b) Determine the Nyquist sampling rate for xa(t) and the folding frequency. (0.5)
c) Is there any alias frequencies in the sampled signal x(n), why? (0.75)
d) If x(n) is passed through an ideal D/A converter, what is the reconstructed signal ya(t)? (0.75)
Solution
a) x1(n) = cos(480n/Fs) = cos(480n/600) = cos(2n2/5) f = 2/5 = k/N the fundamental period N = 5
samples/period
P03 (1.5 marks): Consider the signal x(n) as shown in Fig. 1, determine
a) x(n – 3) b) x(3 – n) c) x(n)us(n – 1) d) x(n)us(1 – n)
e) x(n – 2)(n – 1) f) x(n2) g) even part of x(n) h) old part of x(n)
Solution
x(n) = {…, 0, 0, 0, -1, -1, -1, 0, 2, 2, 2, 0, 0, 0,…}
a) x(n – 3)
Shift right 3 x(n – 3) = {…, 0, 0, 0, -1, -1, -1, 0, 2, 2, 2, 0, 0, 0,…}
b) x(3 – n)
fold x(n) x(–n) = {…, 0, 0, 0, 2, 2, 2, 0, -1, -1, -1, 0, 0, 0,…}
shift right 3 x(– (n – 3)) = x(3 – n) = {…, 0, 0, 0, 2, 2, 2, 0, -1, -1, -1, 0, 0, 0,…}
c) x(n)us(n – 1)
x(n) = 0 if n < 1 x(n)us(n – 1) = {…, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, 0, 0,…}
d) x(n)us(1 – n)
x(n) = 0 if n > 1 x(n)us(1 – n) = {…, 0, 0, 0, -1, -1, -1, 0, 2, 0, 0, 0, 0, 0,…}
f) x(n2) = {…,0, 0, 0, x(4), x(1), x(0), x(1), x(4), 0, 0, 0,…} = {…, 0, 0, 0, 2, 0, 2, 0, 0, 0,…}
P04 (1 mark): Consider the signals x(n) and h(n) as shown in Fig. 1 and Fig. 2, determine
a) y(n) = (n)*h(n) b) y(n) = x(n)*h(n)
Solution
a) It is easy to obtain y(n) = (n)*h(n) = h(n)
b) y(n) = x(n)*h(n)
y(n) = 0 for n -3 and n 7
y(-2) = –1 + 0 = –1
y(-1) = –2 –1 + 0 = –3
y(0) = –3 –2 –1 + 0 = –6
y(1) = –3 –2 + 0 = –5
y(2) = –3 + 0 + 2 = –1
…
P05 (1 mark): Compute the convolution the signals x(n) and h(n) as shown in Fig. 3 and Fig. 4.
y(n) = 0 for n -1
When n 0, we have
y(0) = 1
y(1) = 1 + 1 = 2
y(2) = 1 + 1 + 1 = 3
y(3) = 1 + 1 + 1 + 1 = 4
y(4) = 1 + 1 + 1 + 1 = 4
y(5) = 1 + 1 + 1 + 1 = 4
…
0, n 1
In summary y(n) n 1,1 n 3
4, n 3
P06 (1 mark): Determine if the input-output system y(n) = nx(n) + A is static/dynamic, linear/nonlinear, time
invariant/variant, causal/noncausal, stable/unstable?
Solution
1) static/dynamic
2) linear/nonlinear
4) causal/noncausal
5) stable/unstable
Assume that x(n) = us(n) is always bounded, but y(n) = n + A is unbounded unstable
Solution
1
y(n) y(n 1) 0
2
Let
yh (n) n , we have
1 1
n n1 0
2 2
yh (n) C 1 n
n C
2
For particular solution, let yp(n) be similar from of x(n), we have
1
y (n) k 2n u (n) k 2n u (n) k 2n1u (n 1) 2n u (n)
p s s s s
2
For n = 1 (no terms vanish), we obtain
1 4
2k k2k
2 3
So far
1 n 4
y(n) yh (n) yp (n) C u s (n) 2n us (n)
2 3
Now, we determine C by assuming that y(-1) = 0
1 4 1
y(0) y(1) 1 y(0) 1 1 C C
2 3 3
Finally, the total solution is
11
n u (n) 4 2n u (n)
y(n) s 3 s
3 2