how can I solve difference equation with initial condition.

16 views (last 30 days)
Consider a difference equation with its initial conditions.
5y(n)+y(n-1)-3y(n-2) = (1/5^n)u(n), n>=0 y(n-1) = 2, y(n-2) = 0
How can I determine y(n) in matlab?

Accepted Answer

Matt J
Matt J on 26 Dec 2013
See the FILTER command

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!