Borrar filtros
Borrar filtros

How can I simulate a difference equation in Simulink?

2 visualizaciones (últimos 30 días)
Abraham
Abraham el 8 de Oct. de 2013
Respondida: cr el 8 de Oct. de 2013
I have solved a difference equation, and now I need to "verify my solution using Simulink".
The difference equation is y[n+2] + 3y[n+1]+2y[n] = 0 with initial conditions y[-1]=0 and y[-2]=1
The solution I got was y[n] = 2(-2)^n - (-1)^n.
How do I take this information and put it in Simulink?

Respuestas (1)

cr
cr el 8 de Oct. de 2013
Use N delay blocks in tandem to create y(n-N).

Categorías

Más información sobre General Applications 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