ee229_hw1
ee229_hw1
Assigned on: January 15, 2025 Due on: January 22, 2025
Note: You are encouraged to discuss these problems with others, but you need to write up the
actual solutions yourself. Start early, and meet the instructor for any doubts. Drop off your sub
mission in the drop box labeled EE 229 in the EE office by 5:30 PM on the due date. Copying will
be dealt with strictly. Institute disciplinary procedures will be invoked for any form of cheating.
Premilinaries
A signal x(t) is said to be even if x(t) = x(−t) for all t, and odd if x(t) = −x(−t) for all t. An
arbitrary signal x(t) can be decomposed as a sum of an even and an odd signal as follows:
where
x(t) + x(−t)
xe(t) =
2
x(t) − x(−t)
xo(t) = .
2
Here xe(t) is referred to as the even part of x(t), while xo(t) is referred to as the odd part of x(t).
Things to think about:
(a) Is the above decomposition of a signal as a sum of an even and an odd signal unique?
(b) While the above definitions are given for continuous-time signals, it is easy to write out the
corresponding versions for discrete-time signals. Try doing so yourself
Problem 1
(10 points) Carefully sketch the following signals. Mark all the critical points.
(a) g(t) = tu(−t − 1) − u(−t − 1)
(b) ℎ(t) = e−tu(t)
π
sin (t−2)
[2 ]
(c) m(t) = 2
δ(1 − t)
t +4
( )
(d) p[n] = 2−n u[n − 3]
Problem 2
(10 points) Determine and sketch the even and odd parts of the signals in the figures below. Label
your sketches properly.
(a)
x(t)
−2 −1 0 1 2 3 t
Figure 1 Signal for Q2(a)
(b)
3
1 1
−4 −3 −2 −1 0 1 2 3 4 5 6 7 8 9 n
Problem 3
(10 points) For the continuous time signal x(t) shown below, sketch and carefully label each of
the following signals: (a) x(t − 1), (b) x(2 − t), (c) x(2t + 1), (d) [x(t) + x(−t)] u(t).
x(t)
−1 0 1 2 3 t
−1
Problem 4
(10 points) Consider the signal y(t) = x(−2t − 3)/5 shown below. Determine and carefully
sketch the original signal x(t).
y(t)
0 1 2 t
Problem 5
(10 points) A system is said to be invertible if distinct input signals always result in distinct
output signals. In other words, for an invertible system, the input signal corresponding to any
given output signal can be uniquely determined.
Identify whether each of the following systems is invertible. (x denotes the input signal, and y
the output signal.) Justify your answers.
n
(a) y[n] = ∑ x[k]
k=−∞
(b) y[n] = x[n] x[n − 2]
(c) y[n] = nx[n]
(d) y[n] = x[2n]
Problem 6
(10 points) Check if the following systems are linear, time-invariant and causal. (x denotes the
input signal, and y the output signal.) Justify your answers.
(a) y(t) = sin(x(t) − x(0))
(b) y(t) = x(sin(t))
(c) y(t) = maxs∈[t−1, t]{x(s)}
(d) y(t) = x(t/3)
Problem 7
(10 points) This is a two-part question on ‘system construction.'
(a) Construct a discrete-time system that has memory, is causal, stable and shift-invariant, but
not linear.
(b) Construct a continuous-time system that has memory, is causal, linear and unstable, but not
shift-invariant.
Problem 8
(10 points) Let x[n] = δ[n] + 2δ[n − 1] − δ[n − 3] and ℎ[n] = 2δ[n + 1] + 2δ[n − 1]. Compute
and plot each of the following convolutions (note that ∗ denotes convolution).
(a) y1[n] = x[n] ∗ ℎ[n]
(b) y2[n] = x[n + 2] ∗ ℎ[n]
(c) y3[n] = x[n] ∗ ℎ[n + 2]
Problem 9
(10 points) Let
1, if 0 ≤ n ≤ 9
x[n] =
{ 0, elsewhere
and
1, if 0 ≤ n ≤ N
ℎ[n] =
{ 0, elsewhere
where N ≤ 9 is an integer. Determine the value of N given that y[n] = x[n] ∗ ℎ[n], y[4] = 5 and
y[14] = 0.