EEO 401 Note Set 2
EEO 401 Note Set 2
Note Set #2
• DT Signals and Systems – Review
• Reading Assignment: Sect 2.1 & 2.2 of Proakis & Manolakis
1/25
Discrete-Time (D-T) Signals
A discrete time signal is a sequence of numbers indexed by integers
Example: x[n] n = …, - 3, -2, -1, 0, 1, 2, 3, …
“Doubly Infinite” {
x[n ] = , 4, 2,0,1,3,7,12,5.3, 2.1,
↑
}
“Singly Infinite” {
x[n ] = 7,12,5.3, 2.1,
↑
} This means x[n ] = 0 ∀n < 0
{
x[n ] = , 4, 2,0,1,3,7
↑
} This means x[n ] = 0 ∀n > 0
{
x[n ] = 7,12,5.3, 2.1
↑
} 0 ∀n < 0
This means x[n ] =
0 ∀n > 3
∑ δ [n ] = 1
n = −∞
∑ x[n]δ [n − n ] = x[n ]
n = −∞
0 0
Sifting Property
4/25
“Unit Step Sequence”
0, n < 0
u[n ] =
1, n ≥ 0
ur [n ] = nu[n ]
5/25
“Real Exponential Signal”
x[n ] = a n ∀n , a ∈
Monotonic
if a > 0
Oscillates
if a < 0
6/25
“Complex Exponential Signal”
Includes Complex Sinusoids (r = 1)
x[n ] = a n ∀n , a ∈
Im
r
=a re jθ , r > 0 θ
Re
( re )= r n ( cos(θ n ) + j sin(θ n ) )
jθ n
x[n=
] a= n
r n e jθ=
n
7/25
Classification of DT Signals
Many times what we can or can not do with a signal depends on some
characteristic of that signal. Thus, it is helpful to classify DT signals into
some typical subsets to help keep track of all this…
8/25
Energy Signals vs. Power Signals
Physically, defining power and energy for DT signals is not that well
defined… after all these are just a stream of numbers in a computer!
However, we can still do this from a mathematical sense that mimics the
definitions used for physical CT signals.
∞
E= ∑
2
Energy of DT Signal: x[n ]
n = −∞
Drawing from the physical idea that power is the rate of doing work (i.e., the
amount of energy consumed/delivered per unit time) we can define similar
ideas for DT signals.
N
Energy of DT Signal over finite interval of “length” 2N+1: E N = ∑
2
x[n ]
n= − N
N
EN 1
= = ∑
2
Then… Power of a DT Signal is: P lim lim x[ n ]
N →∞ 2 N + 1 N →∞ 2 N + 1
n= − N
Note that what you get for P depends on a “race” between EN and 2N+1:
• If EN grows but eventually “levels out” (then x[n] is an energy signal)
we get that P = 0. So only energy signals have P = 0.
• If EN grows and never levels out, but does not grow faster than 2N+1
then P is finite and nonzero. Not an energy signal, called power signal.
• If EN grows and never levels out, but does grow faster than 2N+1 then P
is infinite. Neither energy nor power signal. 10/25
Classification of Signals on Energy & Power
N
EN
EN = ∑ E = lim E N P = lim
2
x[n ] N →∞ N →∞ 2 N + 1
n= − N
11/25
Symmetric (Even) vs. Anti-Symmetric (Odd)
A DT signal is symmetric (even symmetric) if x[−n ] =x[n ]
x(t)
Illustrated here
using CT because it
is easier to draw!
-to to t
Any signal x[n] can be broken into a sum of an even part % odd part like this
=
x[n ] xe [n ] + xo [n ]
1 1
xe=
[n ] [ x[n ] + x[−n ]] xo=
[n ] [ x[n ] − x[−n ]]
2 2
Clearly, these two add to x[n]… and it is easy to verify they are even and odd.
13/25
Simple Manipulation of DT Signals
Time Shift
A given signal x[n] is shifted in time by
replacing n by n – k, where k is an integer.
14/25
Time Reversal
-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 m
y[n] Note
-2 -1 0 1 2 n 16/25
Then…. We re-imagine the new signal on the same axis as the original:
x[n]
-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 n
y[n]
-2 -1 0 1 2 n
17/25
Input-Output Description of Systems
Systems, by their very nature, simply map each given input sequence into
a corresponding output sequence.
Thus… the simplest viewpoint of describing (or modeling) systems is to
provide a mathematical description of how the system creates the output
from the input.
Some Examples:
“Unit Delay System” y[=
n ] x[n − 1]
1
“Moving Average Filter” y[n=] [ x[n] + x[n − 1] + x[n − 2]]
3
n
“Accumulator” y[ n ] = ∑ x[k ]
k = −∞
y[n–1]
Can move multipliers
20/25
to a single one here
Classification of DT Systems
Static (memoryless) vs. Dynamic (has memory)
Static system’s output at any time n depends at most on the input sample at
that instant… but no input samples from past or future.
Otherwise it is a Dynamic system. Because its Caution… If it depends on past
output depends on past input sample values output samples then it also
depends on past input samples!
the system in essence must have some sort of
“memory” to store these past value.
If you never need more than N < ∞ past input values... then it is Finite Memory.
If you need past inputs infinitely far into the past… then it is Infinite Memory.
∑ x[n − k ]
Finite,
=
y[n ] nx[n ] + bx [n ]3
=
y[ n ] Growing
k =0 Memory
∞
=
y[ n ] ∑ x[n − k ]
k =0
Infinite
Memory 21/25
Time-Invariant vs. Time-Variant Systems
A Time-Invariant system is one for which the structure of its Input-Output
relationship does not change with time.
That means that if you put a signal in later, the output will be the same shape
just will come out later. Shown here for CT…
DT is similar!
x(t) y(t)
system
x(t-t0) y(t-t0)
x(t) y(t)
t t
x(t-t0) y(t-t0)
t t
t0 t0
22/25
Linear vs. Non-Linear Systems A system that is Linear
A system is linear if superposition holds: & Time-Invariant is
called an LTI System
x1(t) y1(t)
Linear System
x2(t) y2(t)
Linear System
x1(t) y1(t)
Non-Linear
x2(t) y2(t)
Non-Linear
t t
Output Output
t t
Note: to prove that it is unstable we need only find one bounded input that
gives an unbounded output. If the input is the unit step u[n], which is a
bounded input, then the output equals
n
y[n=
] ∑=1
k =0
( n + 1)