OutputResponse

OutputResponse[sys, u, {t, tmin, tmax}]
gives the numeric output response of system sys to the input u for .

OutputResponse[sys, {u[0], u[1], ...}]
gives the output response of the discrete-time system sys to the input sequence .

OutputResponse[sys, u, t]
gives the symbolic output response of system sys to the input u as a function of time t.

OutputResponse[sys, {u1, ..., um}, ...]
gives the output response to for multiple inputs .

DetailsDetails

  • OutputResponse is also known as impulse response, step response, and ramp response.
  • OutputResponse solves the underlying differential or difference equations for the given input.
  • The systems model sys can be a StateSpaceModel or a TransferFunctionModel.
  • The initial values for the differential and difference equations are taken to be zero unless specified.
  • OutputResponse[{ssm, {x10, x20, ..., xn0}}, ...] can be used to specify the initial state for a StateSpaceModel ssm.
  • For descriptor state-space systems, the initial states need to be consistent.
  • For delay state-space systems, the initial states include history and can be given as for t≤0. »

ExamplesExamplesopen allclose all

Basic Examples (4)Basic Examples (4)

The step response of a second-order system:

In[1]:=
Click for copyable input
Out[1]=

The output response of a transfer-function model to a sinusoidal input:

In[1]:=
Click for copyable input
Out[1]=

Visualize the response:

In[2]:=
Click for copyable input
Out[2]=

The response of a state-space model from nonzero initial conditions:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

The response of a discrete-time system to a sampled sinusoid:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
New in 8 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »