State space manual initial condition

조회 수: 6 (최근 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에서 Dynamic System Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by