TResp:
---------------------------------------------------------------------------
Compute the time response of a state-space system.
---------------------------------------------------------------------------
Form:
[x,y,t,u] = TResp( g, x0, u, dT, T );
---------------------------------------------------------------------------
------
Inputs
------
g (.) statespace object
x0 (nS,1) Initial state
u (nI,:) Input control vector
dT (1) Time step [sec]
T (1) Final time [sec] (optional)
-------
Outputs
-------
x (nS,:) State trajectory
y (nO,:) Output trajectory
t (1,:) Time history [sec]
u (nI,:) Input control vector
---------------------------------------------------------------------------
Children:
Common: Classes/@statespace/statespace.m
Common: Control/C2DZOH
Common: Graphics/Plot2D