matlabsignal-processingsymbolic-mathdifference-equations

Difference equations in Symbolic Toolbox Matlab


Can someone please tell me is there a way to solve difference equation e.g:

y(k) = a1 * y(k-1) + a2 * y(k-2) + b0*u(k)

in Matlab using Symbolic Toolbox? I want to find explicit solution of this equation.


Solution

  • From this source, there are 2 methods:

    Bottom line is, there isn't a good method to solve difference equations in Matlab now.