L05 - Difference Equations
L05 - Difference Equations
Roots)
DIFFERENCE
EQUATIONS
• The convolution sum expresses the output of a linear shift-
invariant system in terms of a linear combination of
• the input values x(n). For example, a system that has a unit
sample response is described by the equation
LCCDE
• The general form of a LCCDE is
• where the coefficients a(k) and h(k) are constants that define
the system.
• Difference equations provide a method for computing the
response of a system, y(n), to an arbitrary input x(n). Before
these equations may be solved, however, it is necessary to
specify a set of initial conditions.
• For an LSI system that is described by a difference equation,
the unit sample response, h(n), is found by solving the
difference equation for x(n) = 6(n)assuming initial rest.
• For a nonrecursive system, a(k) = 0, the
difference equation becomes
• Thus, h(n) is finite in length and the system is referred to as
a finite-length impulse response (FIR) system.
• However, if a(k) # 0, the unit sample response is, in general,
infinite in length and the system is referred to as an infinite-
length impulse response (IIR)
• There are several different methods that one may use to solve
LCCDEs for a general input x(n). The first is to simply set up
a table of input and output values and evaluate the difference
equation for each value of n.
• This approach would be appropriate if only a few output
values needed to be determined. Another approach is to use z-
transforms.
• The third is the classical approach of finding the
homogeneous and particular solutions
• Given an LCCDE, the general solution is a sum of two parts,