update
Purpose
Updates the internal state using the state-update equation
Syntax
system.update(u)
xn = system.update(u)
[xn, y] = system.update(u)
Description
This function evaluates the system's state-update equation and
updates the internal state of the system.
By calling system.update(u) this function updates the
internal state of system by evaluating the state-update
equation. The updated state can then be retrieved by calling x
= system.getStates().
By calling [xn, y] = system.update(u) this function also
returns the updated state as the first output, and the result of
the output equation as the second output. Note that the internal
system's state is still updated as described above.
Input Arguments
u |
Vector of system's inputs
Class: double
|
Output Arguments
xn |
Updated state vector
Class: double
|
y |
Vector of outputs
Class: double
|
© 2003-2013 Michal Kvasnica: STU Bratislava, michal.kvasnica@stuba.sk