Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2017-2018 Fall
Impulse
δ[n]
1
x[−3] = 2, x[0] = 4
x[1] = −1, x[4] = 3
x[n]
4
3
2
n
-1
x[n]
4
3
2
n
-1
Unit step
u[n]
1 ...
n
u[n]
1 ...
n
u[n]
1 ...
n
δ[n]
...
Exponential sequence
x[n] = Aαn
x1 [n] x2 [n]
n n
α = 1.15 α = −0.85
Discrete-time sinusoids
cos(π/8n)
n
cos(2π 34 n)
n
cos(πn)
n
−8 −4 4 8
Complex exponentials
x[6]
The period and aliases are similar to
sinusoids.
y [n] = T (x[n])
x[n]
x[n − 1]
1
= (x[n + M1 ] + x[n + M1 − 1] + · · · + x[n]
M1 + M2 + 1
+ · · · + x[n − M2 − 1] + x[n − M2 ])
w [n]
n
y [n]
n
w [n]
n
y [n]
n
x1 [n] x2 [n]
n
n
y1 [n] y2 [n]
n
n
Example
The discrete-time system described as
y [n] = (x[n])2
is a memoryless system.
1
Moving Average
PM2
y [n] = x[n − k]
M1 + M2 + 1 k=−M1
1
Moving Average NO
PM2
y [n] = x[n − k]
M1 + M2 + 1 k=−M1
Linear Systems
Definition
A system T (·) is linear if and only if following properties hold:
Additivity:
Homogeneity:
Proof.
For x3 [k] = αx1 [k] + βx2 [k] super-position property holds:
n
X
y3 [k] = (αx1 [k] + βx2 [k])
k=−∞
n
X n
X
= (αx1 [k]) + (βx2 [k])
k=−∞ k=−∞
n
X n
X
=α x1 [k] + β x2 [k] = αy1 [k] + βy2 [k]
k=−∞ k=−∞
Proof.
A counter-example violating super-position property is x1 [n] = 1 and
x2 [n] = 10. For x3 [n] = x1 [n] + x2 [n],
1
Moving Average
PM2
y [n] = x[n − k]
M1 + M2 + 1 k=−M1
1
Moving Average YES
PM2
y [n] = x[n − k]
M1 + M2 + 1 k=−M1
Time-invariant Systems
Definition
The systems, for which a time shift or delay of the input sequence causes a
corresponding shift in the output sequence, are called time-invariant
systems.
Proof.
For x2 [n] = x1 [n − nd ]
n
X n
X
y2 [n] = x2 [k] = x1 [k − nd ]
k=−∞ k=−∞
x1 [n] x2 [n]
n n
y1 [n] y2 [n]
n n
y2 [n] 6= y1 [n − nd ] = x1 [M(n − nd )]
x1 [n] x2 [n] = x1 [n − 1]
n n
y1 [n] y2 [n] 6= y1 [n − 1]
n n
Causal Systems
Definition
A system is causal if, for every choice of n0 , the output sequence value at
the index n = n0 depends only on the input sequence values for n ≤ n0 .
Causality Examples
Example
The backward difference system
is causal.
Example
The forward difference system
Stable Systems
Definition
A system is bounded-input bounded-output (BIBO) stable if and only if
every bounded input sequence produces a bounded output sequence.
The system
y [n] = x[n]2
is BIBO stable since for any |x[n]| ≤ Bx ,
There is no upper bound of the accumulator system output for the step
input.
w [n]
n
5 10
y [n]
n
5 10
Quiz
1 Is the system
y [n] = max x[k].
k∈[−∞,n]
is causal?
Problem 1 Solution
Let x1 [n] = δ[n] and x2 [n] = −δ[n]. Then, y1 [n] = u[n] and y2 [n] = 0.
For x3 [n] = x1 [n] + x2 [n] = 0, the output is
Superposition does not hold for the system, hence it is not linear.
+
y1 [n] y2 [n] y3 [n]
n n n
Problem 2: Solution
M2
1 X
|y [n]| = x[n − k]
1 + M1 + M2 k=−M1
M2
1 X
= x[n − k]
1 + M1 + M2
k=−M1
1
|y [n]| ≤ · (1 + M1 + M2 )Bx
1 + M1 + M2
As a result, if |x[n]| ≤ Bx , then |y [n]| ≤ Bx . System is BIBO stable.