Homework 2
Homework 2
Reading: This assignment covers lectures notes 3 and 4, which correspond to the chapters 2 of the textbook.
Homework submission: Please submit your solutions on Kmoodle. Create a single .pdf file containing all your
analytical derivations, plots, and Matlab code.
• Exercise 1 — General
1.2 Why are elementary signals useful? Describe a few of these signals.
• Exercise 2 — Programming
2.1 Write a MATLAB script to generate and plot the following signals for −20 ≤ n ≤ 40.
a) Sketch x1 [−n]
b) Sketch x1 [n − 2]
c) Sketch x2 [n + 1]
d) Sketch −2x2 [2 − n]
e) Sketch x1 [−n] − x2 [n + 1]
3.2 For the signal x[n] = n(u[n + 4] − u[n − 5]), compute and sketch the following:
a) s1 [n] = x[n − 3]
Page 1 of 2
Fall 2024 | INT421—Digital Signal Processing Homework
b) s2 [n] = x[2n − 3]
c) s3 [n] = x[−n]
d) s4 [n] = x[2 − n]
e) s5 [n] = x[n]δ[n]
3.3 For each of the discrete-time signals listed below, determine if the signal is periodic or not. If the signal is
periodic, determine the fundamental period.
a) x[n] = 3 cos( 17
5
n + π4 )
3.4 Determine whether or not each of the following signals is periodic. In case a signal is periodic, specify its
fundamental period.
3.6 Given the following linear systems, find which one is time invariant:
b) y[n] = 4x[n2 ]
b) Prove the system defined by the previous equation is linear (and invariant). Write the equation as a convo-
lution equation.
3.8 Express the signals shown in next Figure as the sum of sampling (δ) functions.
Page 2 of 2