0% found this document useful (0 votes)
143 views56 pages

Introduction To Discrete-Time Signals and Systems

Let's check the two properties of linearity: 1) DISCRETE-TIME SYSTEM 2) DISCRETE-TIME SYSTEM Since time reversal satisfies both properties, it is a linear system.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
143 views56 pages

Introduction To Discrete-Time Signals and Systems

Let's check the two properties of linearity: 1) DISCRETE-TIME SYSTEM 2) DISCRETE-TIME SYSTEM Since time reversal satisfies both properties, it is a linear system.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 56

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

• Motivation: We may want to store a


signal x(t) digitally.
x(t) x[n]
SAMPLING QUANTIZATION STORAGE
Discrete-time signals
• Motivation: The signal might be
discrete-time in its nature.
Some important signals
• The impulse signal:

1
n

• Compare with the continuous-time version:

t
• For this case only,
Some important signals
• The unit step signal:

• Compare with the continuous-time version:

t
Some important signals
• The unit ramp signal: 4
3
2
1

• The exponential signal:

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:

• Conversely, the unit step signal is the cumulative


sum of all samples of the impulse signal up to
time instant n:
Some important signals
• Some relations between these signals:
• The unit step signal can be seen as the difference
between consecutive samples of the unit ramp
signal:

• Conversely, the unit ramp signal is the


cumulative sum of all samples of the unit step
signal up to time instant n-1:
Periodic signals
• A signal is said to have a period N if

• Example:
x[n] N=4

• If N is a period, so are 2N, 3N, 4N, ...


Periodic signals
• Another class of examples is sinusoidals:

• Note that this is periodic if and only if for


some integers N and k,

• In other words, must be a rational


number.
• Recall that we did not have any such
condition for the periodicity of
Periodic signals
• Example: Find the smallest period of the signal

• Solution: We need , or equivalently,

• What is the smallest N such that there exists an


integer k satisfying this?
Periodic signals
Periodic signals
• Now, . So let's see what happens
when

• Clearly,

does not have a solution for integer N, k.


Periodic signals
Periodic signals
• Another way to understand this odd
behavior is to look at complex exponentials

• For to have a period N,

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:

• Add and subtract the two to find the desired


result.
Simple signal transformations
• Time shift: Let

for some .
x[n] y[n]

n n

• Why does this cause a right shift?


• The key is to see that the signal y copies at
time instant n the "old value" of x at
Simple signal transformations
• Time reversal: Let

x[n] y[n]

n n

• So this is resulting in the "mirror image"


of the signal around the y-axis.
Simple signal transformations
• Subsampling:
y[n]=x[2n]
x[n]
n
n
y[n]=x[3n]

• 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

• Two ways to interpret this formula:


• As in the previous slide, a summation of infinitely
many signals each scaled with .
• For every n, an infinite sum over the samples
of the product signal .
Discrete-time systems
• A discrete-time system is a mapping from the
input signal x[n] to the output signal y[n].
• We already saw the examples

• But sky is the limit:


Linarity
• A discrete-time system is linear if
DISCRETE-
TIME SYSTEM

and
DISCRETE-
TIME SYSTEM

implies
DISCRETE-
TIME SYSTEM

for any
Linearity
• Problem: Is a linear system?
Linearity
• Problem: Is a linear system?

• To see this, just take a=2, b=0.


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]

• This should be true for ALL x[n].


Invertibility
• But this definition seems to require that you
actually find the inverse system.
• Alternative definition: A discrete-time system
is invertible if no two distinct input signals
yield the same output.
DISCRETE-
TIME SYSTEM y[n]
NOT
INVERTIBLE
DISCRETE-
TIME SYSTEM y[n]
Invertibility
• Problem: Is an invertible
system?

NOT
INVERTIBLE
Invertibility
• Problem: Is an invertible
system?

NOT
INVERTIBLE
Invertibility
• Problem: Is an invertible system?

• Solution: In this case, we can come up


with the inverse system: INVERTIBLE

• 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 B implies

for some C.
Stability
• Problem: Is a stable system?
• Solution: If , then certainly

• Taking C = B in the definition then leads to


the conclusion that the system is...
STABLE
Stability
• Problem: Is a stable system?

• Solution: Take for all n.

• It is certainly a bounded input:

• But y[n] is accumulating all these 1's, and


therefore must diverge to infinity.
UNSTABLE
Stability
• Problem: Is a stable
system?
• Solution: This time, the accumulation has a
"forgetting factor" of 0.5.
• In fact, if for all n, then
STABLE

You might also like