Discrete Time Signal Part 1
Discrete Time Signal Part 1
Time-Domain Representation
Discrete Time Signal: Time-Domain
Representation
• Signals represented as sequences of
numbers, called samples
• Sample value of a typical signal or
sequence denoted as x[n] with n being an
integer in the range
• x[n] defined only for integer values of n
and undefined for non-integer values of n
• Discrete-time signal represented by {x[n]}
Discrete Time Signal: Time-Domain
Representation
• Discrete-time signal may also be written
as
x[n] ...,0.2, 2.2,1.1,0.2,3.7,2.9,...
a sequence of numbers inside braces:
• In the above, x[1] 0.2, x[0] 2.2, x[1] 1.1,
etc.
• The arrow is placed under the sample at
time index n = 0
Discrete Time Signal: Time-Domain
Representation
• Some alternative representation of
discrete time signal
– Graphical representation
– Functional representation
– Tabular representation
– Sequence representation
Graphical representation
• Graphical representation of a discrete-time
signal with real-valued samples:
Functional representation
1,.........n 1,3
x[n] 4,..........n 2
0,..elsewhere
Tabular representation
n … -2 -1 0 1 2 3 4 5 …
x(n) … 0 0 0 1 4 1 0 0 …
Sequence representation
x(n) ...,0,0, 0,1,4,1,0,... (Infinite form)
x(n) 0,1,4,1,0 (Finite form)
Elementary Discrete-Time
Signals
• These elementary signals are also called
standard signals.
• The standard discrete-time signals are as
follows:
1. Unit step sequence
2. Unit ramp sequence
3. Unit parabolic sequence
4. Unit impulse sequence
Elementary Discrete-Time
Signals
• The standard discrete-time signals are as
follows: (cont’n)
5. Sinusoidal sequence
6. Real exponential sequence
7. Complex exponential sequence
Elementary Discrete-Time Signals
• Unit Step Signal is denoted as u(n) and is
defined as 1, n 0
u ( n)
0, n 0
Elementary Discrete-Time Signals
• Unit Ramp Signal is denoted as ur(n) and
is defined as n, n 0
u r ( n)
0, n 0
Elementary Discrete-Time Signals
• Unit Parabolic Signal is denoted as up(n)
and is defined as n 2 2 , n 0
u p ( n)
0, n0
Elementary Discrete-Time Signals
• Unit sample sequence (Unit Impulse) is
denoted as δ(n) and is defined as
1, n 0
( n)
0, n 0
N
• then E lim E N , (subscript N to E
N
emphasize that EN is the energy of the
signal x(n)) 1
• and therefore, Pave lim EN
N 2N 1
Energy and Power Signals
• Note: if E is finite, then Pave = 0 and on
the other hand, if E is infinite, the average
power P may be either finite or infinite. If P
is finite ( and nonzero), the signal is called
a power signal.
Energy and Power Signals
Example: Consider the following finite
discrete signals
y(n) x (n)
2
• Anti-causal
• Example: y (n) x(n) x(2n)
y(n) x (n) 2 x(n 2)
2
Linear versus Nonlinear System
• Linear system – is one that satisfies the
superposition principle (additive and
homogenous).
• Nonlinear system – does not satisfy the
superposition principle.
• Superposition Principle – The response of the
system to a weighted sum of signals be equal to
the corresponding weighted sum of the
responses (outputs) of the system to each of the
individual input signals.
Linear versus Nonlinear System
• A relaxed system is linear if and only if
[a1x1(n) + a2x2(n)] = a1[x1(n)] + a2[x2(n)]
• For any arbitrary input sequences x1(n)
and x2(n), and any arbitrary constants a1
and a2
Example:
y(n) = nx(n) y(n) = x2(n)
Linear versus Nonlinear System
• y(n) = nx(n)
Let
y1(n) = nx1(n)
y2(n) = nx2(n)
y3(n) = nx3(n) and y3(n) = y1(n) + y2(n) also
x3(n) = x1(n) + x2(n)
therefore, y3(n) = nx3(n)
y1(n) + y2(n) = n[x1(n) + x2(n)]
nx1(n) + nx2(n) = nx1(n) + nx2(n)
Linear versus Nonlinear System
y(n) = x2(n)
Let
y1(n) = x21(n)
y2(n) = x22(n)
y3(n) = x23(n) and y3(n) = y1(n) + y2(n) also
x3(n) = x1(n) + x2(n)
therefore, y3(n) = x23(n)
y1(n) + y2(n) = [x1(n) + x2(n)]2
x21(n) + x22(n) ≠ x21(n) + 2x1(n)x2(n) + x22(n)
Time invariant versus Time-variant
Systems
• Time-invariant – its input-output
characteristics do not change with time.
• Time-variant – its input-output
characteristics change with respect to
time.
• A relaxed system is time-invariant if
x(n)→ y(n)
x(n − k )→y(n − k )
Example:
y(n) x(n) x(n 1) y(n) nx(n)
Time invariant versus Time-
variant Systems
y(n) x(n) x(n 1)
y (n, k ) x ( n ) x ( n k ) x(n k ) x(n k 1)
y (n k ) n n k x(n k ) x(n k 1)
y (n, k ) y (n k ) ; Time Invariant
Time invariant versus Time-
variant Systems
y(n) nx(n)
y (n, k ) x ( n ) x ( n k ) nx(n k )
y (n k ) n n k (n k ) x(n k )
y (n, k ) y (n k ) ; Time variant
Stable versus Unstable Systems
• A system is Stable if any bounded input
produces bounded output (BIBO).
Otherwise, it is unstable.
Example:
Check the stability of the system defined
1 1
a. y(n) x(n) x(n 1) x(n 2)
2 4
b. h(n) 2 u(n)
n
Stable versus Unstable
Systems
1 1
a. y(n) x(n) x(n 1) x(n 2)
2 4
Stable versus Unstable
Systems
b. h(n) 2n u(n)
Stable versus Unstable
Systems
• The conditions for a BIBO stable system
are given as follows:
1. If the system transfer function is a rational
function, the degree of the numerator should
not be larger than the degree of the
denominator.
2. The poles of the system must lie inside
the unit circle in the z-plane.
Stable versus Unstable
Systems
• The conditions for a BIBO stable system
are given as follows:
3. If a pole lies on the unit circle it must be a
single order pole, i.e. no repeated pole lies
on the unit circle.
Impulse and Step Responses
• The response of a discrete-time system to
a unit sample sequence {δ[n]} is called the
unit sample response or simply, the
impulse response, and is denoted by
{h[n]}
• The response of a discrete-time system to
a unit step sequence {μ[n]} is called the
unit step response or simply, the step
response, and is denoted by {s[n]}
Impulse Response
• Example - The impulse response of the
system
y[n] =α1x[n]+α2x[n −1]+α3x[n − 2]+α4x[n − 3]
is obtained by setting x[n] = δ[n] resulting in
h[n] =α1δ[n]+α2δ[n −1]+α3δ[n − 2]+α4δ[n − 3]
The impulse response is thus a finite-length
sequence of length 4 given by
{ h[n]} = {α1, α2, α3, α4}
Invertible versus Non-invertible
Systems
• A system is known as invertible only if an
inverse system exists which when
cascaded with the original system
produces an output equal to the input of
the first system.
• A system which does not satisfy this
criterion is called a non-invertible system.
Invertible versus Non-invertible
Systems
FIR and IIR Systems
• Linear time-invariant discrete-time
systems can be classified according to the
type of impulse response.
• If the impulse response sequence is of
finite duration, the system is called a finite
impulse response (FIR) system.
• If the impulse response sequence is of
infinite duration, the system is called an
infinite impulse response (IIR) system.
• An example of FIR system is described by
FIR and IIR Systems
• An example of FIR system is described by