Updates the internal state using the state-update equation
system.update(u)
xn = system.update(u)
[xn, y] = system.update(u)
u |
Vector of system's inputs Class: double |
xn |
Updated state vector Class: double |
y |
Vector of outputs Class: double |
sys = LTISystem('A', 0.9, 'B', 1, 'C', 0.5)
LTISystem with 1 state, 1 input, 1 outputSet the system's internal state to
sys.initialize(1);Update the system's state using
sys.update(0.2);Retrieve the internal state (should be equal to
sys.getStates()
ans = 1.1Update the system's state using
sys.update(0)
ans = 0.99Retrieve the internal state (should be equal to
sys.getStates()
ans = 0.99Update the internal state using
[xn, y] = sys.update(-1)
xn = -0.109 y = 0.495
◀ | reachableset | ltisystem | ▶ |
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk