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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From this source, there are 2 methods:
Apply Z transform, solve for X(z), then find inverse Z transform look up tables if needed.
Write y(n)=r^n, to get the auxiliary equation, solve for homogeneous part first.
Bottom line is, there isn’t a good method to solve difference equations in Matlab now.