1. (23 points) Elementary signals.
(a) (12 points) Consider the signal x(t) shown below. Sketch the following:
i. x(t) (u(t − 1) − u(2t − 3))
ii. x(t)δ(t − 1) −
−∞ x(τ )δ(τ − 5)dτ +
−∞ x(t) (u(τ − 4) − u(τ − 5)) dτ
iv. x(t) −
r(t) + 1
r(t − 4) + 2u(t − 4) (Note: r(t) is the ramp function)
(b) (8 points) Evaluate these integrals:
i. R ∞
−∞ f(t + 1)δ(t + 1)dt
ii. R ∞
−2τu(τ − 1)dτ
iii. R ∞
f(t)(δ(t − 1) + δ(t + 1))dt
iv. R ∞
−∞ f(τ )δ(t − τ )δ(t − 2)dτ
(c) (3 points) Let b be a positive constant. Show the following property for the delta
δ(bt) = 1
Hint: Use the rect approximation of the Dirac delta
2. (23 points) Expression for signals.
(a) (15 points) Write the following signals as a combination (sums or products) of unit
rectangles rect(t) (rect(t) = 1 for |t| ≤ 1/2, and 0 otherwise) and unit triangles ∆(t)
(∆(t) = 1−|t| for |t| ≤ 1, and 0 otherwise). Note: You might use a combination of only
unit triangles for some signals.
(b) (8 points) Express each of the signals shown below using scaled and time shifted unitstep functions.
3. (34 points) System properties.
(a) (21 points) A system with input x(t) and output y(t) can be time-invariant, causal
or stable. Determine which of these properties hold for each of the following systems.
Explain your answer.
i. y(t) = |x(t)| + x(2t)
ii. y(t) = R t+T
x(λ)dλ, where T is positive and constant.
iii. y(t) = (t + 1) R t
iv. y(t) = 1 + x(t) cos(ωt)
v. y(t) = cos(ωt + x(t))
vi. y(t) = R t/2
vii. y(t) = 1
(b) (4 points) Consider a system H that takes a signal x(t) as input and returns the even
part of x(t) as output, i.e.,
xe(t) = H(x(t))
where xe(t) is the even part of x(t). Is it time invariant? Is it stable?
(c) (5 points) Consider the following three systems:
S1 : w(t) = x(t/2)
S2 : z(t) = Z t
S3 : y(t) = S3(z(t))
The three systems are connected in series as illustrated here:
Choose the third system S3, such that overall system is equivalent to the following
y(t) = Z t−1
(d) (4 points) In part (c), you saw an example of three systems connected in series. In
general, systems can be interconnected in series or in parallel to form what we call
cascaded systems. The figure below shows the difference between a series cascade and
a parallel cascade. Note that parts (c) and (d) are unrelated.
i. (2 points) Show that the series cascade of any two time-invariant systems is also
ii. (2 points) Show that the parallel cascade of any two time-invariant systems is also
iii. (Optional) Can you think of two time-variant systems, whose series cascade is
time-invariant? Can you think of two time-variant systems, whose parallel
cascade is time-invariant?
4. (10 points) Power and energy of complex signals
(a) (5 points) Is x(t) = Aejωt + Be−jωt a power or energy signal? A and B are both real
numbers, not necessarily equal. If it is an energy signal, compute its energy. If it is
a power signal, compute its power. (Hint: Use the fact that the square magnitude of
a complex number v is: |v|
2 = v
∗v, where v
is the complex conjugate of the complex
(b) (5 points) Is x(t) = e
−(1+jω)tu(t − 1) an energy signal or power signal? Again, if it is
an energy signal, compute its energy. If it is a power signal, compute its power.
5. (10 points) MATLAB
(a) (4 points) Task 1
A complex sinusoid is denoted:
y(t) = e
First compute a vector representing time from 0 to 10 seconds in about 500 steps (You
can use linspace). Use this vector to compute a complex sinusoid with a period of 2
seconds, and a decay rate that reduces the signal level at 10 seconds to half its original
value. What σ and ω did you choose? If your complex exponential is y, plot:
What is MATLAB doing here?
(b) (3 points) Task 2
Use the real() and imag() MATLAB functions to extract the real and imaginary parts
of the complex exponential, and plot them as a function of time (plot them separately,
you can use subplot for this task). This should look more reasonable. Label your axes,
and check that your signal has the required period and decay rate.
(c) (3 points) Task 3
Use the abs() and angle() functions to plot the magnitude and phase angle of the
complex exponential (plot them in the same figure). Scale the angle() plot by dividing
it by 2*pi so that it fits well on the same plot as the abs() plot (i.e. plot the angle in
cycles, instead of radians, the function angle(x) returns the angle in radians).