2.12  Nonhomogeneous Difference Equations and Their Solutions

The solution of the nonhomogeneous difference equation

$eq228.jpg$

can be obtained by finding the homogeneous solution of

$eq229.jpg$

with the initial conditions

$eq230.jpg$

then adding it to the particular solution of

$eq231.jpg$

So we write the total solution as

$eq232.jpg$

Note that if we are given a nonhomogeneous difference equation with initial conditions, we first find yh(n) and do not evaluate the constants associated with yh(n) because these initial conditions are given for the total solution y(n). The following example will illustrate this point.

Example 2.19

Consider the system described by the difference ...

Get Discrete Systems and Digital Signal Processing with MATLAB, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.