Vous êtes sur la page 1sur 2

# EL06 Digital Signal Processing

Assignment 1
Signals And Systems
1. The discrete-time sinusoids given below having as any finite value. Express each signal
in its corresponding alternate form, where the resultant 1 [0, ]. (a) sin(1.6n + ),(b)
cos(2.3n + ), (c) cos(34.6991n + ), (d) sin(2.3n + ), (e) exp(j8.2n + ), and
(f)exp(j1.95n)
2. A real-valued sinusoid has frequency = 2, 3.2, 22.1327, + 2. To produce an identical
signal in each case, what should the corresponding frequency be if it is restricted to the range
[0, ]? In which cases does the phase change sign?
3. Find the simplified expression for x[n] where x[n] = cos(0.6n +/6) +3 cos(1.4n +/3)
2 cos(0.6n /6).
4. Consider x[n] = cos(0n) for various values of 0 in the set {0, 0.1, 0.9, , 1.1, 2}. What
is the period of x[] in each case?
5. Consider the harmonically related periodic signals xk[n] = cos(2kn/N), where 0 k N
1. Since xk[n] is real-valued, the highest value of k can be limited to the integer that is less than
or equal to N/2. What is the period of xk[n] for each k when N = 11 and N = 12? Is there any
difference in behaviour when compared with its continuous-time counterpart?
6. Find the odd and even components of: (a) u[n], (b) sin (n/4), (c) cos(n/4)u[n]
7. Given an example of a cascade of two nonlinear systems that is linear overall. Repeat for
two time-variant systems that is overall time-invariant. How about two non-causal systems that
are overall causal?
8. For each system given below, determine which of the following attributes hold: linearity,
causality, time-invariance and stability. Wherever necessary assume zero initial conditions. If
a property is true, prove it; otherwise, give a counterexample.
(a) y[n] = 2|n| x[n]
(b) y[n] = cos(n) + x[n 4]
(c) y[n] = x[n] cos(w0n)
(c) y[n] = min {[]}
0

## (d) y[n] = 2| x[n] | ++2

=2 []
(e) y[n] = 2 x[n] + x[n 1] n x[n]
9. State whether or not each of the following statements is true or false. If true, prove it;
otherwise, give a counterexample. (a) The series interconnection of two LTI systems is itself
an LTI system. (b) The series interconnection of two nonlinear systems is itself a nonlinear
system. (c) If the input to a discrete-time LTI system is periodic with period N, then its output
must also be periodic with period N.

10. Find and sketch y = x h where x[n] = an u[n] and h[n] = bn u[n] for the cases when (a) a
b, and (b) a = b
11. Consider an LTI system with h[n] = 2n u[n]. Find the output y[n] if the input x[n] = u[n]
u[n 10]
12. Determine the impulse response of the following systems whose input-output relationships
are given below: (a) y[n] = x[n + 1], (b) y[n] =x[n-3]+4x[n] (c) y[n] =n2 x[n 1],
(d) y[n] = 5=5 [] (e) y[n] = x[n] x[n 1].

Matlab/Python/Scilab Assignments
1. Let x(t) = cos(2 f0t). Form x[n] = x(nT), where T is called the sampling period. Let f0 =
50 Hz. Plot the signal x[n] versus nT for a duration of 40ms for various values of T: 125s,
1ms, 2 ms, and 10 ms using the default option (which joins the individual points by straight
line); repeat to get stem plots. Observe what happens when you plot x[n] versus n in all these
cases.
2. Let x(t) = fc sinc(fct), where sinc(t) =sin t/t. Form x[n] =x(nT), where T is sampling period.
Let f c = 5 Hz. Plot the signal x[n] versus nT by sampling x(t) over the interval 2 t 2 with
T = 0.02. Change f c to 10, 20, 30, 40 and 50 repeat the plots. Observe what happens when you
plot x[n] versus n in all these cases. What is the value of x[0] ?
3. Form the sequence h[n] = an u[n] for a = 0.9. Let x[n] = sin(2n/16) for n = 0, 1, ..., 999.
Compute the convolution of these two sequences and plot the first hundred samples. The builtin commands for convolution are convol (Scilab) and conv (Matlab)