State space manual initial condition

3 次查看(过去 30 天)
Danylo
Danylo 2015-2-14
回答: J AI 2021-4-21
Hello, I know of the simulink state space block but I am trying to implement a state space model manually. So far I have:
The state space model needs an initial state, my current implementation of this is circled above in red. This doesn't work --> I get x(0)=0 even though the initial condition =/=0. How do I set an initial condition for x?
Danylo.

回答(1 个)

J AI
J AI 2021-4-21
Double click the integrator and you can set the initial condition there directly. 6 years late to reply but still worth a reply I believe!

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by