Professional Documents
Culture Documents
Chapter One
Chapter One
Chapter One
CHAPTER -1
DISCRETE-TIME SIGNAL AND SYSTEM ANALYSIS IN
TIME DOMAIN
1.1 Introduction
Signal: It is a function of one or more independent variables that conveys information.
We have different signals
Continuous time signal:
• It is a signal which is defined at each and every instant of time.
• The signal amplitude is continuous
• It is denoted by x(t)
Discrete time signal:
• It is a signal which is defined only at discrete time instances.
• The signal amplitude may be either continuous or discrete.
• These signals may arise by sampling a continuous signal or they may be generated directly by
some discrete time process.
• It is denoted by x[n] or x(n)
Digital signal
• Digital signals are those for which both time and amplitude are discrete
• These signals are quantized form of discrete time signals
Digital Signal Processing deals with the transformation of signals that are discrete in both
time and amplitudes.
Digital Signal Processing is used in several areas including the following
Telecommunications
Speech processing
Image processing
Consumer electronics
Biomedical systems
Military electronics
Industrial electronics
It seems clear that in many ways the importance and role of digital signal processing is
accelerating and expanding.
In this chapter we begin our study of digital signal processing by developing the notation of a
discrete-time signal and a discrete-time system. We will concentrate on solving problems related to
signal representations, signal manipulations, properties of signals, system classification, and
system properties.
Besides the graphical representation of a discrete – time signal or sequence as illustrated in fig. 1.1
there are some alternative representations that are often more convenient to use. These are:
An infinite-duration signal or sequence with the time origin (n = 0) indicated by the symbol
is represented as:
Some problems and applications it is convenient to view x[n] as a vector. Thus, the sequence
values x[0] to x[N – 1] may often be considered to be the elements of a column vector as follows:
Discrete-time signals are often derived by sampling a continuous-time signal, such as speech, with
an analog to digital (A/D) converter.' For example, a continuous-time signal xa(t) that is sampled
at a rate of fs = l/Ts samples per second produces the sampled signal x[n], which is related to xa(t)
as follows:
] = ( )
Not all discrete-time signals, however, are obtained in this manner. Some signals may be
considered to be naturally occurring discrete-time sequences because there is no physical analog-
to-digital converter that is converting an analog signal into a discrete-time signal.
The magnitude may be derived from the real and imaginary parts as follows
&' !]
(!) !] = *+,-.
#$ !]
9!] = { .: !=:
!≠:
which is shown in figure 1.2 (a). Similarly, the shifted unit impulse (or sample) sequence
δ[n - k] is defined as
Figure 1.2 (a).Unit impulse(sample) Sequence (b) shifted unit impulse sequence
which is shown in Fig.1.3 (a). Note that the value of u[n] at n = 0 is defined and equals unity.
Similarly, the shifted unit step sequence u[n - k] is defined as
Figure 1.3 (a) Unit step sequence (b) shifted unit step sequence
A!] = BC!
Figure 1.4 Real exponential sequences. (a) C > 1 (b) 1> C > 0
A!] = BC!
Conversely, a unit sample can be expressed in terms of unit step sequence is given by
i. Shifting : If e!] = A! – !^], x(n) is shifted to the right by no samples if no is positive (this is
referred to as a delay), and it is shifted to the left by no samples if no is negative (referred to as an
advance).
ii. Reversal : If e!] = A−!], x(n) is inverted about vertical axis. This transformation involves
"flipping" the signal x(n) with respect to the index n.
j
iii. Time Scaling : This transformation is defined by (g) hi (k) where M and N are positive
integers.
If l] = g] (the sequence x(Mn) is formed by taking every Mth sample of x(n)), then this
operation is known as down sampling.
j
If l() = (k), then this operation is known as up sampling and is defined as follows
!
Am] ! = :, ±m, ±%m, ±om, … … … … …
e!] = { : ^pq$crs_$
Example: Consider a discrete time signal x[n] as shown in figure. For the given signal perform the
following operations. 1. − 2] (shifting) 2. −] (reversal)
j
3. 2] (time scaling-down sampling) 4. u] (time scaling- up sampling)
Ans:-
Multiplication: The multiplication of two signals is formed by the pointwise product of the signal
values.
e!] = A. !]A% !] −∞ <<∞
The unit sample may be used to decompose an arbitrary signal x(n) into a sum of weighted and
shifted unit samples as follows:
A discrete-time signal may always be classified as either being periodic or aperiodic. A signal
x(n) is said to be periodic if, for some positive real integer N,
This is equivalent to saying that the sequence repeats itself every N samples.
Note: If x1(n) is a sequence that is periodic with a period N1, and x2(n) is another sequence that is
periodic with a period N2,the sum
z u
=
{|}( z, u)
where gcd(N1, N2) means the greatest common divisor of N1 and N2.
Example:- Determine whether the given signal is periodic or aperiodic. If it is periodic then find
its fundamental period? () = cos (0.125)
Ans:-
Because 0.125 = / , and
\ ! = \ (! + .)
u
x[n] is periodic with period N = = 16
A discrete-time signal will often possess some form of symmetry that may be exploited in solving
problems. Two symmetries of interest are as follows:
There are two symmetric sequences
A!] = A−!]
A−!] = −A!]
Any signal x[n] may be decomposed into a sum of its even part, xe[n], and its odd part, xo[n], as
follows:
A!] = A$ !] + A^ !]
To find the even part of x[n] we form the sum
.
A$ !] = A!] + A−!]
%
.
A^ !] = A!] − A−!]
%
Example:- Find the even and odd parts of the following signal x[n] = u[n].
Ans:-
Let ] = ]
.
The even part of u[n] is = =!] + =−!] =
%
{. .
%
!=:
!≠:
. .
which is written as A$ (!) = + 9!]
% %
1/2 > 0
.
The odd part of u[n] is = % =!] + =−!] = { 0 =0
−1/2 < 0
.
which is written as A^ !] = _)!(!)
%
] = ∗ −]
and a signal is said to be conjugate antisymmetric if, for all n,
] = − ∗ −]
Any complex signal may always be decomposed into a sum of a conjugate symmetric signal and a
conjugate anti-symmetric signal.
1. Memoryless Systems
A system is referred to as memoryless if the output y[n] at every value of n depends only on the
input x[n] at the same value of n.
Example. e!] = A!], e!] = (A!])% ---- memoryless system
e!] = A!] + A! − .] --------------non memoryless system(with memory)
2. Linear Systems
A system that is both additive and homogeneous is said to be linear.
An additive system is one for which the response to a sum of inputs is equal to the sum of the inputs
individually.
A system is said to be homogeneous if scaling the input by a constant results in a scaling of the output by
the same amount.
If yl [n] and y2[n] are the responses of a system when xl[n] and x2[n] are the respective inputs,
then the system is linear if and only if
and
These two properties can be combined into the principle of superposition, stated as
|l]| ≤ < ∞,
Example. l] = ] + + 1] − − − − − l
l] = ] − − − − − − − − − l
For a linear shift-invariant system, stability is guaranteed if the unit sample response is absolutely
summable:
b |ℎ]| < ∞
jd-
1.5. CONVOLUTION
The relationship between the input to a linear shift-invariant system, x[n],and the output, y[n], is
given by the convolution sum:
i. Constant multiplier:
ii. Adder :
Performing Convolutions
There are several different approaches that may be used, and the one that is the easiest will depend
upon the form and type of sequences that are to be convolved.
Direct Evaluation:
In performing convolutions directly, it is usually necessary to evaluate finite or infinite
sums involving terms of the form Q j or Q j .
Example:
Graphical Approach:
The steps involved in using the graphical approach are as follows:
1. Plot both sequences, @] and ℎ@], as functions of k.
2. Choose one of the sequences, say ℎ@], and time-reverse it to form the sequence ℎ@].
3. Shift the time-reversed sequence by n. [Note: If n > 0, this corresponds to a shift to
the right (delay), whereas if n < 0, this corresponds to a shift to the left (advance).]
4. Multiply the two sequences xk] and hn – k] and sum the product for all values of k.
The resulting value will be equal to l]. This process is repeated for all possible
shifts, n.
A useful fact to remember in performing the convolution of two finite-length sequences is that if
x(n) is of length L1 and h [ n] is of length L2, yn] = xn] ∗ hn] will be of length L1 + L2 − 1.
b l − @] = b − @]
d¢ d¢
Where the coefficients ak (¢ ≠ 0) and bk are constants and that define the system. If the
difference equation has one or more terms ak that are nonzero for @ ≥ 1, the difference equation is
said to be recursive. On the other hand, if all of the coefficients ak are equal to zero for @ ≥ 1 , the
difference equation is said to be non recursive.
i. Homogeneous solution
The homogeneous form of a differential or difference equation is obtained by setting all
terms involving the input to zero.
k
b l¤ − @] = 0
d¢
and
k
l¤ ] = b §¨ i¨j
¨dz
Where the ri are the N roots of the discrete-time system's characteristic equation.
b i k- = 0
d¢
1. Find the form of the homogeneous solution y[n] from the roots of the characteristic
equation.
2. Find a particular solution yp[n] by assuming that it is of the same form as the input,
yet is independent of all terms in the homogeneous solution.
3. Determine the coefficients in the homogeneous solution so that the complete solution
l] = l¤ ] + l¥ ] satisfies the initial conditions.
Example: Determine the output of the systems described by the following difference equations
with input and initial conditions as specified:
© z
l] − ª l − 1] + « l − 2] = 2], l−1] = 1, l−2] = −1, ] = 2]