Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

StateResponse

StateResponse[sys,u,{t,tmin,tmax}]
gives the numeric state response of the state-space model sys to input u for .

StateResponse[sys,{u[0],u[1],}]
gives the response of the discrete-time state-space model sys to the input sequence .

StateResponse[sys,u,t]
gives the symbolic state response as a function of time t.

StateResponse[sys,{u1,,um},]
gives the state response for multiple inputs .

StateResponse[{sys,{x10,x20,,xn0}},, ]
gives the response with initial states .

DetailsDetails

• StateResponse solves the state differential or difference equations for the given input u.
• The state-space model sys can be a StateSpaceModel, a continuous-time AffineStateSpaceModel, or a continuous-time NonlinearStateSpaceModel.
• A linear StateSpaceModel sys can also be a descriptor and delay system.
• The initial states are taken to be the state operating values of sys unless specified.
• For descriptor systems, the initial states need to be consistent.
• For delay systems, the initial states include history and can be given as for t0. »

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

The state response of a continuous-time system to a unit step input:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

The response of a discrete-time system with initial conditions :

 In[1]:=
 Out[1]=

The state-response of a system to a Dirac delta input:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

The step response of a time-delay system:

 In[1]:=
 In[2]:=
 Out[2]=