1-DT Signals and Systems
1-DT Signals and Systems
DT Signals
Some DT signals we encounter frequently are the unit sample,
unit step, ramp, and exponential functions.
1. Unit sample
The unit sample signal is defined as
1 for n = 0
(
δ(n) =
0 otherwise
This is also referred to as the unit impulse signal.
2. Unit step
The unit step signal is defined as
(
1 for n ≥ 0
u(n) =
0 otherwise
1
DT Signals (ctd)
The unit sample and the unit step signals are related as:
n
X ∞
X
u(n) = δ(k) = δ(n − m)
k=−∞ m=0
δ(n)
[ ] = u(n)
[ ] − u(n
[ − 1)
]
3. Unit ramp
The unit ramp signal is defined as
(
n for n ≥ 0
ur (n) =
0 otherwise
4. Exponential
The exponential signal is defined as
x(n) = an for all n
If a is real, then x(n) is a real signal. If a is complex, then a can
be expressed as
a = re jθ
and
x(n) = rn(cos θn + j sin θn)
2
Classification of DT Signals
3. Symmetricity
A signal is said to be symmetric or even-symmetric if
x(−n) = x(n)
and antisymmetric or odd-symmetric if
x(−n) = −x(n)
3
Simple manipulations
1. Time shift
4
Classification of DT systems
1. Linearity
For any linear DT system, if
an input x1(n) produces an output y1(n) and
an input x2(n) produces an output y2(n),
then an input αx1(n) + βx2(n) should produce an output
αy1(n) + βy2(n).
T
αx1(n) + βx2(n) −→ αy1(n) + βy2(n)
or
5
Classification of DT systems(ctd)
2. Time-invariance
If an input x1(n) produces an output y1(n) , then the same input
applied at a later time, should produce the original output de-
layed by the same amount of time.
i.e. The input x(n − n0) should produce the output y(n − n0)
T
x(n − n0) −→ y(n − n0)
6
Classification of DT systems (ctd)
4. Causality
For a causal system, the output at any given time does not de-
pend on the future values of the input. It depends only on the
current value and the past values of the input.
If we consider time instance n = n0, the output y(n0) depends
only on x(n) where n ≤ n0. All physical systems are causal.
5. Stability
Every Bounded Input to a stable system must result in a Bounded
Output. This is called BIBO stability.
If |x(n)| ≤ B x < ∞ for all n,
then |y(n)| ≤ By < ∞ for all n.
7
DT System models
Impulse response
The Impulse Response of a system is its response to a unit
impulse at the input. It is normally denoted by h(n)
Step response
The response of a system to a unit step input is called the Step
Response of the system. It is normally denoted by a(n)
8
Response to arbitrary inputs
9
Evaluation of the Convolution Sum
10
Graphical Evaluation of the Convolution Sum
11
12
Analytical Evaluation of the Convolution Sum
Case 1: n < 0
There is no overlap between x(k) and h(n − k) (figure 2.10(a))
and the product x(k)h(n − k) is zero for all k.
Therefore, y(n) = 0 for n < 0.
Case 2: 0 ≤ n ≤ N − 1
As seen from figure 2.10(b), x(k) and h(n − k) overlap from k = 0
n+1
to k = n. Therefore y(n) = nk=0 ak = 1−a
P
1−a
Case 3: n ≥ N
The overlap between x(k) and h(n − k) is now from
k = n − N + 1 to k = n (figure 2.10(c)). Therefore
n
X
y(n) = ak
k=n−N+1
an−N+1 − an+1
=
1−a
1 − a N!
= an−N+1
1−a
13
h[n – k]
x [k]
n 0 k
n – (N – 1) (a)
0 n k
n – (N – 1)
(b)
0 n k
n – (N – 1)
(c)
y [n]
0 k
N–1
(d)
1. Identity
x(n) ∗ δ(n) = x(n)
2. Shifting
x(n) ∗ δ(n − k) = x(n − k)
3. Commutative law
15
DT systems described by difference equations
For LTI systems, the total response is equal to the sum of the
zero-input and zero-state responses.
y(n) = yzi(n) + yzs(n)
16
Solution of linear, constant-coefficient difference equations
y(n) + a1y(n − 1) = 0
and the characteristic polynomial is
λn + a1λn−1 = 0
λn−1(λ + a1) = 0
λ = −a1
Therefore, the homogenous solution is
yh(n) = c1(−a1)n
Using the initial conditions, we find c1 to be
18
Multiple Roots for the Characteristic Polynomial
Example
Consider the third order system described by
y(n) − 5y(n − 1) + 8y(n − 2) − 4y(n − 3) = x(n) + 2x(n − 1)
The characteristic polynomial for the system is
19
Particular solution
x(n) y p(n)
A (a constant) K
AM n K Mn
An M K0n M + K1n M−1 + . . . + K M
Ann M An(K0n M + K1n M−1 + . . . + K M )
A cos(ω0n) K1 cos(ω0n) + K2 sin(ω0n)
A sin(ω0n) K1 cos(ω0n) + K2 sin(ω0n)
Example:
Consider the difference equation y(n) + a1y(n − 1) = x(n) and a
unit step signal as the input x(n) = u(n).
We assume that the particular solution is of the form
y p(n) = Ku(n). By substituting this we obtain
Ku(n) + a1 Ku(n − 1) = u(n)
To determine the constant K , we must substitute a value for n
so that none of the terms in the equation vanish.
In this case, for any n ≥ 0,
K + a1 K = 1
1
K=
1 + a1
Therefore
1
y p(n) = u(n)
1 + a1
20
Total solution
For a LTI system, the total solution is the sum of the homoge-
neous solution and the particular solution.
Example
Consider the total solution to the difference equation
y(n) + a1y(n − 1) = x(n) for a unit step input x(n) = u(n)
and the initial condition y(−1) = A.
From previous work, we obtain
1
y(n) = c1(−a1)n + u(n) for n ≥ 0
1 + a1
By substituting n = 0, we obtain
1
y(0) = −a1 A + 1 = c1 +
1 + a1
a1
c1 = −a1 A +
1 + a1
The total solution is
1 − (−a )n+1
1
y(n) = A(−a1)n+1 + for n ≥ 0
1 + a1
21
Summary
22
Impulse Response
When the input signal x(n) is the unit impulse δ(n), the particular
solution of the difference equation is zero, as x(n) = 0 for n > 0.
Example
Consider the system
y(n) − 3y(n − 1) − 4y(n − 2) = x(n) + 2x(n − 1)
The homogeneous soultion for this system is
yh(n) = c1(−1)n + c2(4)n for n ≥ 0
When x(n) = δ(n), for an initially relaxed system
y(0) = x(0) = 1
y(1) = 3y(0) + 2x(0) = 5
By substituting n = 0 and n = 1 in yh(n) we obtain
y(0) = c1 + c2
y(1) = −c1 + 4c2
This gives the values c1 = − 15 and c2 = 6 . The impulse reponse
5
of the system is " #
1 6
h(n) = − (−1)n + (4)n u(n)
5 5
23