Introduction To Discrete-Time Signals and Systems
Introduction To Discrete-Time Signals and Systems
Introduction to
Discrete-time Signals and
Systems
Ertem Tuncel
Professor & Chair of Electrical and Computer Engineering
University of CA, Riverside
Discrete-time signals
• Motivation: We may have access to only
periodic samples x(nT) of a signal x(t).
x(t)
t
T 2T 3T
-T
x[n]=x(nT)
-1
1 2 3
n
Discrete-time signals
• Motivation: We may want to process a
signal x(t) using digital means.
x(t) x[n] DIGITAL
y[n] y(t)
SAMPLING RECONSTRUCTION
PROCESSING
1
n
t
• For this case only,
Some important signals
• The unit step signal:
t
Some important signals
• The unit ramp signal: 4
3
2
1
1 1
n n
Some important signals
• Some relations between these signals:
• The impulse signal can be seen as the difference
between consecutive samples of the unit step
signal:
• Example:
x[n] N=4
• Clearly,
implying that
or that
Digression: Complex algebra
• In rectangular coordinates,
Real Imaginary
Im
y z
x Re
Digression: Complex algebra
• In polar coordinates,
Angle
Magnitude
Im
z
r
Re
Digression: Complex algebra
• In rectangular coordinates,
Digression: Complex algebra
• In polar coordinates,
Digression: Complex algebra
• Two important identities:
• Proof:
for some .
x[n] y[n]
n n
x[n] y[n]
n n
• Permanent n
information loss!!
Real world examples
• The original:
• Time-reversal:
• 2 times sub-sampling:
• 3 times sub-sampling:
• 5 times sub-sampling:
Transformation combos
• What if we have a transformation such as
?
• Looks like a combo of time shift, time reversal,
and subsampling. But with what order?
• Option 1:
x[n] TIME
x[-n] RIGHT SHIFT
x[3-n] SUBSAMPLE
x[3-2n]
REVERSAL 3 UNITS BY 2
• Option 2:
x[n] LEFT SHIFT
x[n+3] TIME x[3-n] SUBSAMPLE x[3-2n]
3 UNITS REVERSAL BY 2
Transformation combos
• Option 1:
x[n] TIME x[-n] RIGHT SHIFT
x[3-n] SUBSAMPLE x[3-2n]
REVERSAL 3 UNITS BY 2
• Option 2:
x[n] LEFT SHIFT
x[n+3] TIME
x[3-n] SUBSAMPLE
x[3-2n]
3 UNITS REVERSAL BY 2
• Option 3:
x[n] LEFT SHIFT x[n+3] SUBSAMPLE x[2n+3] x[3-2n]
TIME
3 UNITS BY 2 REVERSAL
Transformation combos
x[n] LEFT SHIFT x[n+3] SUBSAMPLE x[2n+3] x[3-2n]
TIME
3 UNITS BY 2 REVERSAL
x[n+3]
x[n]
3 LEFT SHIFT
3
SUBSAMPLE
3 UNITS BY 2
2 2
1 1
-1 1 2 3 4
n -4 -3 -2 -1 1
n
x[3-2n] x[2n+3]
3 3
TIME
1 REVERSAL
1
-1 1 2 3 n -3 -2 -1 1
n
Transformation combos
x[n] x[3-2n]
3 3
2
1 1
-1 1 2 3 4
n -1 1 2 3 n
• Could we have computed this without going
through the transformations one by one?
• We sure could have:
n 3-2n x[3-2n]
-1 5 0
0 3 3
1 1 1
2 -1 0
3 -3 0
A simple decomposition
• We can decompose every signal into a
sum of shifted impulses.
n
• Example: +
x[n] n
=
n +
n
+
n
A simple decomposition
• Generalizing, we obtain
and
DISCRETE-
TIME SYSTEM
implies
DISCRETE-
TIME SYSTEM
for any
Linearity
• Problem: Is a linear system?
Linearity
• Problem: Is a linear system?
4
• To see this, just take any a and b other than
a+b = 1.
Time invariance
• A discrete-time system is time-invariant if
DISCRETE-
TIME SYSTEM
implies
DISCRETE-
TIME SYSTEM
for any .
Time invariance
• Problem: Is a time-invariant
system?
Time invariance
• Problem: Is a time-invariant
system?
Time invariance
• Problem: Is a time-
invariant system?
Time invariance
• Problem: Is a time-invariant
system?
If in doubt, try this out
• You can try an example to prove non-linearity
or time-variance
• For the last example, , try the
impulse signal as input:
n
x[n] -2 y[n]
4 0
1 -1 11 0
0 0 1
n 1 1 0 n
2 4 0
n
x[n] -2 y[n]
4 0
1 -1 1 0
0 0 0
n 1 1 0 n
2 4 0
Memory and Causality
• A discrete-time system is memoryless if at
time instant n, the value of y[n] depends only
on the current value of x[n], and not on any
past or future value of it.
• A discrete-time system is causal if at time
instant n, the value of y[n] depends only on the
current and past value of x[n], and not on any
future value of it.
• Obviously, memorylessness implies causality,
but not vice versa.
Memory and Causality
• Problem: Is a memoryless
system? If not memoryless, is it causal?
• Solution:
MEMORYLESS
CAUSAL
Memory and Causality
• Problem: Is a
memoryless system? If not memoryless, is it
causal?
• Solution:
HAS MEMORY
CAUSAL
Memory and Causality
• Problem: Is a memoryless
system? If not memoryless, is it causal?
• Solution:
HAS MEMORY
NON-CAUSAL
Invertibility
• A discrete-time system is invertible if there
exists another system which outputs x[n] when
its input is y[n].
x[n] DISCRETE-
TIME SYSTEM y[n] INVERSE
SYSTEM x[n]
NOT
INVERTIBLE
Invertibility
• Problem: Is an invertible
system?
NOT
INVERTIBLE
Invertibility
• Problem: Is an invertible system?
• Proof:
Invertibility
• Alternatively, if the system were not
invertible, there would exist two inputs
and yielding the same output.
• But that would mean that for all n,
and
implying that
Stability
• A discrete-time system is stable if bounded
inputs yield bounded outputs.
• Mathematically speaking, a system is stable if
for some C.
Stability
• Problem: Is a stable system?
• Solution: If , then certainly