State space manual initial condition

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 日

1 投票

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!

カテゴリ

ヘルプ センター および File ExchangeDynamic System Models についてさらに検索

質問済み:

2015 年 2 月 14 日

回答済み:

2021 年 4 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by