2.12  Nonhomogeneous Difference Equations and Their Solutions

The solution of the nonhomogeneous difference equation


can be obtained by finding the homogeneous solution of


with the initial conditions


then adding it to the particular solution of


So we write the total solution as


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.