Logic in State Space Model

Hi,
I got a problem when I was trying to call ss(A,B,C,D) function.
And my matrix has logic inside with respect to one of the states like this
A = [ 0 1 0; 0 0 1; -1*(x2>3)+3*(x2<=3) 2 -1]
How do I deal with that? Since I should define the state first. Or my problem is how should I define a state before calling state space model?
Thanks a lot!!

回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

提问:

2017-11-10

编辑:

2017-11-10

Community Treasure Hunt

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

Start Hunting!

Translated by