How can I simulate a difference equation in Simulink?
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!