Setting initial condition of State Space model (not block in Simulink)
2 次查看(过去 30 天)
显示 更早的评论
I know how to set initial conditions of a state space model when using the state-space block in Simulink. However, how is it done using the "ss" command?
e.g. given A, B, C and D, how can I set the initial condition x0 using the "ss" command?
G = ss(A,B,C,D,x0) % not the correct code but just to give an idea of what I am trying to achieve
The "lsim" command does change the initial condition but I just want to set the initial condition without simulating the system.
Thanks for your time in advance.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!