Académique Documents
Professionnel Documents
Culture Documents
Student:____________________________________I.D. No.___________
Problem One: Ideal Filters and Sinusoidal Input Signals
Let x[ n] cos(0.25 n) cos(0.5 n) cos(0.75 n) be the input to a to an ideal
band-pass filter H B ( ) with lower cut-off frequency and higher cut-off
respectively.
1a.- The spectrum of the input signal is given in the diagram below:
The ideal band-pass filter(not the same scale) is given in the diagram below:
Student:____________________________________I.D. No.___________
(15 points) (1b) Find the output
transform of the product of these transforms. That is, use the following
formula:
1
1
jn
X H e jn d .
y[n]
Y e d
2
2
Y ( ) X ( ) H ( ) H ( ) 0.25k 0.25k
k 1
From the characteristics of the ideal band-pass filter given above, we get:
Y ( )
0.25k 0.25k
k 2
y[n] cos(0.5 n)
Student:____________________________________I.D. No.___________
(25 points) Problem Two: Linear Phase Ideal Filter
Obtain the impulse response of an ideal low-pass filter which has linear
phase and whose frequency response is:
e jnd ,
H L
0,
m
m
Solution:
e jnd ,
H L
0,
m
m
Student:____________________________________I.D. No.___________
Problem Three: Matrix Representation of Linear Conv.
Let x[n] , n Z , represent an input to a filter T with impulse response
function h[n] , n Z . For x[ n] [n] 2 [n 1] , perform the following tasks:
(3a.- 15 Points) Compute the output y[ n] using matrix-vector notation if
the filter is an FIR filter with impulse response h[ n] 2 [ n] 2 [n 2] . Draw
the filter as a tap-delay line (non-recursive) filter.
Remark: y[ n]
k 1
k 2
k 0
k 0
n Z4
Solution:
We start by using the following equation:
y[n]
k 1
k 0
n Z4
y[0] h[0] 0
2 0
2
y[1] h[1] h[0] x[0] 0 2 1 4
y[3] 0 h[2]
0 2
4
Student:____________________________________I.D. No.___________
Observation for Part 3a: We can use direct substitution into the general
linear convolution equation in order to get the desired result for Problem
3a:
y[n]
y[n]
k
k
x[k ]h[n k ]
[k ] 2 [k 1] 2 [n k ] 2 [n k 2];
[k ] 2 [n k ] 2 [n k 2]
nZ
2 [k 1] 2 [n k ] 2 [n k 2]
The first summation expression in the last equation is only valid or non-zero
when k 0 and the second summation expression is only valid or non-zero
when k 1 . Thus, we get the following result:
(3b.- 10 Points) Compute the output y[ n] if the filter is an IIR filter with
impulse response h[ n] ba u[ n] . Draw the filter as a first-order recursive
filter.
Solution:
To solve this problem, we proceed in the following manner:
n
Student:____________________________________I.D. No.___________
Problem Four: Linearity and Time-Invariance
(25 Points) Determine if the following system, T defined by the equation
y[n] T x[n]
The system y[ n] T x[ n]
since its output at the present time n is equal to the sum of the present
input sample value plus all previous input samples. A discrete system T is a
discrete filter if the system is, both, linear and time-invariant. We proceed to
check for linearity and time-invariance conditions:
Linearity Condition - A discrete system y[ n] T x[ n] is linear if it satisfies
the following condition:
T x1[n]
T x2 [n]
k n
k n
x2[k ].
Then, we have
aT x1[n] bT x2[n] a
k n
x1[k ] b
k n
x2[k ] .
k n
x3[k ]
k n
ax1[n] bx2[n] .
k n
k n
ax1[k ] bx2[k ] a
x1[k ] b
k n
x2[k ] ;
Student:____________________________________I.D. No.___________
Time-Invariance Condition - A discrete system y[ n] T x[ n] is said to be
time-invariant if it satisfies the following condition:
T x[n n0 ] y[n n0 ] .
We first compute the r.h.s. of the time-invariance condition:
Let T x[ n] y[n]
k n
k n n0
x[k ] .
x[k n0 ]
m n n0
k n
g[ k ]
k n
x[m]
k n n0
x[k ]