Ece45 HW2
Ece45 HW2
ECE 45 Homework 2
Problem 2.1
Are the following systems linear? Are they time invariant?
(a) x(t) −→ [ System (a) ] −→ 2x(t − 3)
(b) x(t) −→ [ System (b) ] −→ x(t) + t
(c) x(t) −→ [ System (c) ] −→ (x(t) + 1)2
(d) x(t) −→ [ System (d) ] −→ cos(x(t))
Z t
(e) x(t) −→ [ System (e) ] −→ x(τ ) dτ
−∞
Problem 2.2
Find the Bode plot (magnitude and phase) and label all critical points of the transfer function
225 (ω 2 − 2500jω − 106 ) (1 + 10−6 jω)
H(ω) = 2 .
9 ω9 − 20000jω
3
− 10 8 (25 + 5jω)
MATLAB: Include MATLAB plots of the magnitude and angle of this function on the same scale.
How does the Bode plot approximation compare to the actual function?
Tips: ‘logspace(a,b,n)’ generates n points between decades 10a and 10b .
‘semilogx(x,y)’ plots y versus x with a log scale on the x axis.
‘log10(x)’ returns log10 (x), whereas ‘log(x)’ returns the natural log.
Problem 2.3
Are the following functions periodic? If so, find the period and fundamental frequency.
(a) f1 (t) = cos2 (10t)
∞
X
(b) f2 (t) = x(t − n), where x(t) = t for 0 ≤ t < 1 and x(t) = 0 otherwise.
n=−∞
20 log |H(ω)|
40 dB / decade
Slope = 0
20 dB / decade
(a) x1 (t) = cos(0.1t)
∠H(ω)
90o
Problem 2.5
Suppose f (t) is a periodic function with period T = 2 and Fourier series components
1
Fn = for all integers n 6= 0 and F0 = 1.
2n2
f (t) is the input to an LTI system with transfer function
Find the output, y(t), of the system in terms of only real numbers (all imaginary components should
cancel).
Problem 2.6
Find the Fourier series components Fn of f (t) = sin4 (t).
Problem 2.7
Determine the Fourier series coefficients Fn and find the average power in a period of the function:
∞
X 1 0≤t<2
x(t − 4n) where x(t) =
2 2≤t<4
n=−∞
Problem 2.8
Find the Fourier series components of f (t) and g(t) and write f (t) and g(t) as purely real sums of sine
and/or cosine functions, where
f (t) 1 g(t)
... ... 4
... ...
1
−1/2 1/2 −4
Hint: After calculating the components of f (t), use the properties to find the components of g(t).
Problem 2.9
Find the Fourier series components of f (t). Using the properties of the Fourier series, find the Fourier
series coefficients of g(t), where
∞
X ∞
X
f (t) = 2 + x(t − 4n) and g(t) = y(t − 4n)
n=−∞ n=−∞
t−2 when 0 ≤ t < 4 t2 /4 when −2 ≤ t < 2
x(t) = and y(t) =
0 otherwise 0 otherwise
Hint: Write x(t) in terms of y(t) and write f (t) in terms of g(t).
Problem 2.10
Suppose f (t) is the input to an LTI system with transfer function H(ω), where
ω 2
f (t) = | sin(t)| and H(ω) = 1 − 4
2π
Find the output y(t) and write it as a purely real sum of sines and/or cosines.
MATLAB Problem 3
In this problem, I am providing you with four noisy vectors of length N = 11613. Embedded in one
of these vectors is a famous quote from a former politician. Your goal will be to determine which of
these four vectors contains the audio signal (and determine which three are purely noise) and decode
the audio signal.