how can I solve difference equation with initial condition.

16 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Matt J
Matt J el 26 de Dic. de 2013
See the FILTER command
  3 comentarios
Matt J
Matt J el 26 de Dic. de 2013
Editada: Matt J el 26 de Dic. de 2013
For example,
n=0:10;
X=(n>=0).*(1/5).^n;

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by