Path: Common/Control
% Compute the time response of a state-space system. Type TResp for a demo. -------------------------------------------------------------------------- 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,1) Time step [sec] T (1,1) Final time [sec] (optional) ------- Outputs ------- x (nS,:) State trajectory y (nO,:) Output trajectory t (1,:) Time history [sec] u (nI,:) Input control vector --------------------------------------------------------------------------