You are on page 1of 2

ME 360, Fall 2021 PROBLEM SET 5 Due at 3PM Monday, Oct 4

Reading: Discrete-Time Fourier Transform (Section 15.1); Discrete-Time Harmonics and Digital fre-
quency (Section 3.5); Sampling and Sampling theorem (Section 14.1); Aliasing (Section 14.1)

Problems:

1. Obtain and identify (on the F axis) the digital frequency for the following signals:

1. x(t) = cos(200πt) sampled at 450 Hz

2. x(t) = sin(400πt − π4 ) sampled at 300 Hz

3. x(t) = cos(200πt) + sin(350πt) sampled at 300 Hz

4. x(t) = cos(200πt + π4 ) + sin(250πt − π4 ) sampled at 120 Hz

2. Express the following signals using a digital frequency |F | < 0.5:

1. x[n] = cos( 4nπ


3 )

2. x[n] = cos( 4nπ 8nπ


7 ) + sin( 7 )

3. Find the DTFT X(Ω) of the following signals (The underline denote the index n = 0). Also, sketch the
magnitude and the phase spectrum (you may use Matlab or other plotting software):

1. x[n] = {1, 2, 3, 2, 1}

2. x[n] = {1, 2, 3, 2, 1}

3. x[n] = (0.5)n+1 u[n]

4. x[n] = (0.5)n+1 u[n − 1]

5. x[n] = δ[n + 1] + δ[n − 1]

6. x[n] = u[n + 1] − u[n − 2]

7. x[n] = 2−n u[n]

8. x[n] = (0.5)n cos(0.5nπ)u[n]

4. Short questions:

1. A signal x(t) is made up of sum of pure cosines with unit amplitude and the following frequencies:

10, 40, 200, 220, 240, 260, 300, 320, 380, 400 Hz

If the signal is sampled at SF = 140 Hz, which components, if any, will show aliasing? What is the
minimum sampling rate that will allow avoid aliasing?
2. Show that the discrete-time Fourier transform is a periodic function of Ω, i.e., show that

X(ω) = X(ω + 2π)

for all real values of ω.

3. How does part (2) relate to the following property of a digital harmonic signal:

cos(2πF0 n) = cos(2π(F0 + k)n)

for all integer values of k.

4. True or False. A digital harmonic signal x[n] = cos(2πF0 n) is periodic as a function of n.

5. True or False. A continuous harmonic signal x(t) = cos(2πf0 t) is periodic as a function of t.

5. [Extra Credit] Write MATLAB or Python code to compute and plot the two-sided spectrum of the
following signals

1. x(t) = e−t u(t)

2. y(t) is a periodic signal with period T = 1 that is defined by y(t) = x(t) for t ∈ [− T2 , T2 ].

3. z[n] is a discrete-time signal obtained by sampling x(t) with sampling time Ts = 0.1 seconds.

4. Provide a comparison between spectrum for parts (1) and (2) as T → ∞ and between parts (3) and
(4) as Ts → 0.

You might also like