User`s guide

Table Of Contents
impulse
11-97
Because t his system has two inputs, y is a 3-D array with dimensions
size(y)
ans =
101 1 2
(the first dimension is the length of t). The impulse response of the first input
channel is then accessed by
y(:,:,1)
Algorithm Continuous-time models are first converted to state s pace. The impulse
response of a single-input state-space model
is equivalent to the following unforced response with init ial state .
To simulate this response, t he system is discretized using zero-order hold on
the inputs. The sampling period is chosen automatically based on the system
dynamics, except when a time vector
t = 0:dt:Tf is supplied (dt is then used
as sampling period).
Limitations Theimpulse responseofa continuoussystem with nonzero matrix isinfinite
at .
impulse ignores this discontinuity and returns the lower continuity
value at .
See Also ltiview LTIsystemviewer
step Step response
initial Free response to initial condition
lsim Simulate response to arbitrary inputs
x
·
Ax bu+=
yCx=
b
x
·
Ax ,= x 0() b=
yCx=
D
t0
=
Cb
t0
=