0% found this document useful (0 votes)
155 views3 pages

DSA Assignment 2: Signals and Systems Analysis

This document provides instructions for DSA Assignment 2 which is due on April 6th, 2023. It contains 4 questions covering topics of signals and systems, including: 1) periodic signals, odd/even parts, energy/power signals; 2) time invariance, linearity, causality of systems; 3) sampling frequency and aliasing; and 4) quantization. Students are instructed to show all work, avoid plagiarism, and submit a PDF file named with their roll number and "dsa2.pdf".
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
155 views3 pages

DSA Assignment 2: Signals and Systems Analysis

This document provides instructions for DSA Assignment 2 which is due on April 6th, 2023. It contains 4 questions covering topics of signals and systems, including: 1) periodic signals, odd/even parts, energy/power signals; 2) time invariance, linearity, causality of systems; 3) sampling frequency and aliasing; and 4) quantization. Students are instructed to show all work, avoid plagiarism, and submit a PDF file named with their roll number and "dsa2.pdf".
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

DSA-Assignment-2

Deadline: 6th April, 2023

Instructions
1. Deadline for the assignment is 6th April, 2023
2. Solve all the question and submit a handwritten document
3. Plagiarism will be penalised
4. Submit a pdf of the form <roll no> [Link]

1 Signals
1. Indicate if the following signals are periodic signals. If periodic, find the
fundamental period.
(a) x[n] = sin2 (3n + π)
(b) x[n] = ejπn/8
(c) x[n] = cos(πn/10)cos(πn/30)
(d) x[n] = sin(4πn + 3)
(e) x[n] = cos(πn2 /3)
P∞
(f) x[n] = k=−∞ (−1)k δ(n − k)
2. Find the odd and even parts of the following discrete signals

(a) x[n] = 2cos((an + 1/4)π)
(b) x[n] = ejanπ + ejnπ/b
3. Determine whether the following signals are energy or power signals or
neither
(
0 n<0
(a) x[n] =
n n≥0
(b) x[n] = cos(nπ/2)
(
3n n<0
(c) x[n] =
(1/2)n n ≥ 0
(d) x[n] = an u(n), a ∈ R
(e) x[n] = en δ(n − 4)

1
2 Systems
1. Determine whether or not the following systems are time invariant
(a) y(t) = t2 x(t − 1)
(b) y[n] = x[n − 1] + x[n + 1]
1
(c) y[n] = x[n]

(d) Consider a system S with input x[n] and output y[n] related by
y[n] = x[n]g[n] + g[n − 1].
i. If g[n] = 1 for all n, show that S is time invariant.
ii. If g[n] = n, show that S is not time invariant.
iii. If g[n] = 1 + (−l)n, show that S is time invariant.

2. Determine whether or not the following systems are linear


(a) y(t) = x(sint)
(
0 t<0
(b) y(t) =
x(t) + x(t − 2) t≥0
d(x(t))
(c) y(t) = dt
PM PN
(d) y[n] = m=0 ax[n − m] + m=1 bx[n − m]
1
(e) y[n] = ax[n] + b x[n−1]

3. Determine whether or not the following systems are causal


(a) y(t) = x(t − 2) + x(2 − t)
(b) y(t) = [cos(3t)]x(t)
R 2t
(c) y(t) = −∞ x(k)dk
P∞
(d) y[n] = k=0 x[n + k]
P∞
(e) y[n] = k=0 x[n − k]

3 Sampling Frequency
1. What is aliasing? What can be done to reduce aliasing?
1
Let x(t) = 2π cos(4000πt)cos(1000πt) be a continuous-time [Link]
the Nyquist rate and Nyquist interval for this signal.

2. A waveform, x(t) = 10cos(1000t + π/3) + 20cos(2000t + π/6) is to be uni-


formly sampled for digital [Link] is the maximum allowable
time interval between sample values that will ensure perfect signal repro-
duction? If we want to reproduce 1 hour of this waveform, how many
sample values need to be stored?

2
3. Consider three signals x1(t) and x2(t) and x3(t) with Fourier transforms
satisfying:

X1(Ω) = 0, 120 ≤ |Ω|


X2(Ω) = 0, |Ω| ≤ 60, |Ω| ≥ 100

Determine the minimum frequency Ωs at which we must sample the fol-


lowing signals to prevent aliasing.
(a) x(t) = x1 (t) + x2 (t)
(b) x(t) = x1 (t)x2 (t)
(c) x(t) = cos(3.6πt + 9.23)

4 Quantization
1. Consider the analog waveform x(t) and answer the following questions.


−2 sin(πx/4) 0 ≤ x < 4

x − 4 4≤x<5
x(t) =


1 5≤x<7
8−x 7 ≤ x ≤ 10

It is sampled at 1000 Hz and quantized with a 2-bit quantizer with input


range -2V to 2V.
(a) Indicate the sample points.
(b) State the quantization intervals and the corresponding digital words.
(c) Sketch the digital word assigned to each sample point.
(d) Indicate the stream of bits generated after the quantization is com-
plete.
(e) What is the resulting bit rate?
(f) What is the quantization error?
Answer all of the above questions for a 3-bit quantizer as well.
2. Mention advantages/disadvantages of increasing quantization bits.

Common questions

Powered by AI

The Nyquist theorem ensures accurate signal sampling without aliasing by stipulating that the sampling rate exceed twice the maximum signal frequency . For x(t) = 1/2π cos(4000πt) cos(1000πt), with components at 2000 Hz (highest frequency), the Nyquist interval is 1/4000 seconds or 0.25 ms, matching the inverse of the Nyquist rate .

To determine the fundamental period of a discrete signal, we identify the smallest integer N such that x[n] = x[n + N] for all n. For the signal x[n] = sin²(3n + π), the fundamental period can be found by using trigonometric identities. Since sin²θ = (1 - cos(2θ))/2, the period of cos(2(3n + π)) is the same as the period of cos(6n), which requires that 6n + 2kπ = 6(n + N) + 2kπ for some integer k. Solving gives N = π, which means the signal does not have an integer period and hence is not periodic .

Aliasing occurs when a signal is sampled at a rate that is insufficient to capture its changes accurately, resulting in different signals becoming indistinguishable from each other upon reconstruction . It can be reduced by ensuring the sampling rate is at least twice the highest frequency component of the signal, known as the Nyquist rate. For the signal x(t) = 1/2π cos(4000πt) cos(1000πt), the frequencies are 2000 Hz and 500 Hz. Therefore, the highest frequency is 2000 Hz, making the Nyquist rate 4000 Hz .

Energy signals have finite energy and zero average power, while power signals have infinite energy but finite power . The signal x[n] = (1/2)^n for n ≥ 0 is an energy signal because the sum of the squares of its magnitude over all time is finite, specifically the geometric series sum for |(1/2)^n|² from n = 0 to infinity, which converges .

Determining linearity is important because it simplifies analysis and design using the superposition principle . The system y[n] = Σax[n-m] + Σbx[n-m] is linear because it satisfies both additivity and homogeneity. The response to a linear combination of inputs results in a corresponding linear combination of outputs .

A system is causal if the output at any time depends only on past and present inputs, not future ones . The system y[n] = Σx[n+k] sums over future inputs (k > 0), indicating it is non-causal because the current output relies on future input values .

To avoid aliasing, the sampling rate must be at least twice the highest frequency in the signal, which in this case is 2000 Hz, thus the Nyquist rate is 4000 Hz . Over 1 hour, which is 3600 seconds, the number of samples needed is 3600 seconds × 4000 samples per second = 14,400,000 samples .

The even and odd components of a signal provide insights into its symmetry properties, often simplifying analysis . For x[n] = √2cos((an + 1/4)π), the even component can be found by calculating x_e[n] = (x[n] + x[-n])/2 and the odd component by x_o[n] = (x[n] - x[-n])/2. Calculations will show how the components contribute differently to the signal's behavior .

A system is time invariant if a time shift in the input signal results in an identical time shift in the output signal . For the system y[n] = x[n]g[n] + g[n-1], with g[n] = 1 for all n, we have y[n] = x[n] + 1. If the input is shifted by n₀, then the output becomes y[n-n₀] = x[n-n₀] + 1, maintaining the same structure without changes other than the shift, indicating the system is time invariant .

Increasing the number of quantization bits improves the resolution of the digital signal, reducing quantization error and resulting in a more accurate representation of the original signal . However, this also increases the bit rate and storage requirements, which may be a disadvantage if bandwidth or memory is limited .

You might also like