You are on page 1of 29

DISCRETE-TIME SIGNALS AND

SYSTEMS
DISCRETE-TIME SIGNALS
Representing Discrete-Time Signals
Graphical Representation
x(n)
4

-5 -4 -3 -2 -1 0 1 2 3 4 5

Functional Representation
1 for n  1,3

x(n)  4 for n  2
0 elsewhere

DISCRETE-TIME SIGNALS
 Representing Discrete-Time Signals
Tabular Representation

n … -2 -1 0 1 2 3 4 …
x(n) … 0 0 0 1 4 1 0 …
Sequence Representation
x(n)  {... 0 ,0,0, 1, 4,1, 0,...}

or
x(n)  {0, 1, 4,1}
DISCRETE-TIME SIGNALS
 Some Fundamental Sequence
Unit Sample Sequence [δ(n)]
1 n0
 (n )  
0 otherwise
Unit Step Signal [u(n)]
1 n0
u ( n)  
0 n0
DISCRETE-TIME SIGNALS
 Signal Duration
 Finite-Length Sequence – discrete-time sequence that is
equal to zero for values of n outside a finite interval [N1,
N2].
 x, N 1  n  N 2
x(n)  
 0, otherwise

 Infinite-Length Sequence – signals that are not finite in


length, such as the unit step and exponential sequences.
 Right-Sided Sequence – any infinite-length sequence that is
equal to zero for all values of n < no for some integer no.
DISCRETE-TIME SIGNALS
 Signal Duration
Infinite-Length Sequence
 Left-sided Sequence – an infinite-length sequence x(n),
for some integer no is equal to zero for all n > no. For
example, which is a time-reversed and delayed unit
step.
1, n  no
x(n)  u(n  no )  
0, n  no
DISCRETE-TIME SIGNALS
 Simple Manipulation of Discrete-time
Signal
Transformation of the Independent variable (time, n)
 Time Shifting. The independent variable, n, is replaced
by n – k, where k is an integer.
• If k is a positive integer, the signal is delayed.
• If k is negative integer, the signal is advanced.
Example 2.1

A signal x(n) is graphically illustrated in


figure below. Show a graphical
representation of the signal x(n – 3) and
x(n + 2).
x(n)
4

n
-5 -4 -3 -2 -1 0 1 2 3 4 5
x(n)
4

Example 2.1 2

1
n
-5 -4 -3 -2 -1 0 1 2 3 4
5
Solution: n=2 n=-1
For x(n-3) x(2-3)=x(-1) x(-1-3)=x(-4)
n=0 Base on graph Base on graph
x(0-3)=x(-3) x(-1)= 3 x(-4)=0
Base on graph
x(-3)= 1 n=3 n=-2
x(3-3)=x(0) x(-2-3)=x(-5)
n=1 Base on graph Base on graph
x(1-3)=x(-2) x(0)= 4 x(-5)= -1
Base on graph …
x(-2)= 2
Example 2.1

Graphical representation of x(n-3)


x(n)
4

n x(n-3)
-5 -4 -3 -2 -1 0 1 2 3 4 5 4

n
-2 -1 0 1 2 3 4 5 6 7 8
Example 2.1

Graphical representation of x(n+2)


x(n)
4

n x(n+2)
-5 -4 -3 -2 -1 0 1 2 3 4 5 4

n
-7 -6 -5 -4 -3 -2 -1 0 1 2 3
DISCRETE-TIME SIGNALS
 Simple Manipulation of Discrete-time
Signal
Transformation of the Independent variable (time, n)
 Folding or Reflection of the signal about the time origin.
The time base is to be replaced n by –n .
Example 2.2

Show the graphical representation of the


signal x(–n) where x(n) is the signal
illustrated below.
x(n)
4

1
n
-5 -4 -3 -2 -1 0 1 2 3 4 5
x(n)
4

Example 2.2 3
2

-4 -3 -2 -1 0 1 2 3 4 5 n
Solution: n=3
Let y(n)=x(-n) y(3)= x(-3)
n=0 n=-3 n= -4
x(-3)= 2
y(0)= x(0) y(-3)= x(3) y(-4)= x(4)
Base on graph x(3)= 3 x(4)= 4
n=4
x(0)= 0
y(4)= x(-4)
n=-5
n=1 x(-4)= 0
y(-5)= x(5)
y(1)= x(-1) x(5)= 0
x(-1)= 2 n=-1 x(n)
y(-1)= x(1) 4
n=2 x(1)= 1
y(2)= x(-2) 3
x(-2)= 2 n= -2
y(-2)= x(2) 2
x(2)= 2
1 n

-5 -4 -3 -2 -1 0 1 2 3 4
DISCRETE-TIME SIGNALS
 Simple Manipulation of Discrete-time Signal
 Transformation of the Independent variable (time, n)
 Folding or Reflection of the signal about the time origin.
Note:
Folding and Time-shifting a signal are not commutative.
Let TD = time delay operation
FD = folding operation
TDK[x(n)] = x(n–k), k>0
FD [x(n)] = x(–n)
Now,
TDk {FD[x(n)] }= TD{x(–n)} = x(–n+k)
Whereas,
FD {TDk [x(n)]} = FD{x(n–k)} = x(–n–k)
Example 2.3

Using Figure 2.2 show that folding and time-


shifting are not commutative.
Time-advance the signal x(n) by 2 units in time
then fold.
Fold the signal x(n) then time advance it by 2
units in time.
Example 2.3

Time-advance the signal x(n) by 2 units in


time then fold. x(-n+2)
4
x(n) 4

3 3

2 2

1 1

-5 -4 -3 -2 -1 0 1 2 3 4 5
n -3 -2 -1 0 1 2 3 4 5 6
x(n+2)
4

-6 -5 -4 -3 -2 -1 0 1 2 3
n
Example 2.3

Fold the signal x(n) then time advance it by


2 units in time. x(-n-2)

4
x(n) 4

3 3

2 2

1 1

-5 -4 -3 -2 -1 0 1 2 3 4 5
n -7 -6 -5 -4 -3 -2 -1 0 1 2
x(-n)
4

1 n
-5 -4 -3 -2 -1 0 1 2 3 4
DISCRETE-TIME SIGNALS
 Simple Manipulation of Discrete-time Signal
Transformation of the Independent variable (time, n)
 Time-Scaling. The independent variable time, n, is
replaced by μn, where μ is an integer.
The signal y(n) = x(μn) is a time-scaled version of x(n).
If |μ| > 1, we are SPEEDING UP or DOWN SAMPLING
x(n) by a factor of μ
If |μ| < 1, we are SLOWING DOWN or UP SAMPLING
x(n) by a factor of μ.
Example 2.4
Show the graphical representation of the signal
y(n) = x(2n) where x(n) is the signal illustrated
below.
x(n)

4
3

-7 -6 -5

-4 -3 -2 -1 0 1 2 3 4 5 6 7 n

–1

–2
–3
x(n)
4
3
2

Example 2.4 -7 - 6 -5
1

-4 -3 -2 -1 0 1 2 3 4 5 6 7 n
–1
–2
y(n)=x(2n) n=3 –3
n=-2
n=0 y(3)=x(2*3)=x(6) y(-2) =x(2*(-2))
y(0)=x(0)=4 =4 =x(-4)=0

n=1 n=4 n=-3


y(1)=x(2*1)=4 y(4)=x(2*4)=x(8) y(-3) =x(2*(-3))
=0 =x(-6)=-2
n=2
y(2)=x(2*2)=x(4) n=-1 n=-4
=4 y(-1)= x(2*(-1)) y(-4)= x(2*(-4))
=x(-2)=2 =x(-8)=0
Example 2.4
x(n)

4
3

-7 -6 -5

-4 -3 -2 -1 0 1 2 3 4 5 6 7 n

–1

–2
–3 y(n)=x(2n)
4

-2 -1 0 1 2 3 n

–2
DISCRETE-TIME SIGNALS
 Simple Manipulation of Discrete-time
Signal
Amplitude Modifications
 Amplitude scaling
y(n) = A x(n)
 Addition of two signals
y(n) = x1(n) + x2(n)
 Multiplication of two signals
y(n) = x1(n) x2(n)
DISCRETE-TIME SYSTEMS
 A device or algorithm that operates on a discrete-time
signal, according to some well-defined rules, to produce
another discrete-time signal.
y(n) = T[ x(n)]
where: T = denotes the transformation
x(n) = input signal
y(n) = output signal

x(n) Discrete- y(n)


time system

Block diagram representation of discrete time signal


DISCRETE-TIME SYSTEMS

Input-Output Description of Systems


– consist of a mathematical
expression or a rule, which explicitly
defines the relation between the input
and output signals.
General input-output relationship
T
x(n) y(n)
Seatwork:
Determine the response of the following
systems to the input signal
| n | for  3  n  3
x (n )  
 0 otherwise

a) y(n) = x(n)
b) y(n) = x(n–1)
c) y(n) = x(n+1)
d) y(n) = ⅓ [x(n+1) + x(n) + x(n–1)
DISCRETE-TIME SYSTEMS
 Block Diagram Representation of Discrete-Time Systems
Memoryless – a system is said to be memoryless if the output at any
time n = no depends only on the input at time n = no.
a. Adder. Performs the addition of two signal sequences to form
another sequence. Memoryless operation.
x1(n)
y(n)= x1(n) + x2(n)
+

x2n)

b. Constant multiplier. Applies a scale factor on the input x(n). Also


a memoryless operation.
a y(n) =ax(n)
x(n)
DISCRETE-TIME SYSTEMS
 Block Diagram Representation of Discrete-Time Systems

c. Signal Multiplier Multiplication of two signal sequences to form another


sequence. Also a memoryless operation
x1(n) y(n)= x1(n) x2(n)
x

x2(n)

d. Unit delay Element. A special system that simply delays the signal passing
through it by one sample. It requires memory.

x(n) y(n)= x(n–1)


z–1

e. Unit advance Element. A special system that simply moves the signal
passing through it by one sample. It requires memory.
x(n) y(n)= x(n+1)
z
Example 2-6

Using the basic building blocks, sketch the


block diagram representation of the
discrete-time system described by the
input-output relation.
y(n)= ¼ y(n–1) + ½ x(n) + ½ x(n–1)

You might also like