Specifications

Table Of Contents
impulse
16-95
16impulse
Purpose Compute the impulse response of LTI models
Syntax impulse(sys)
impulse(sys,t)
impulse(sys1,sys2,...,sysN)
impulse(sys1,sys2,...,sysN,t)
impulse(sys1,'PlotStyle1',...,sysN,'PlotStyleN')
[y,t,x] = impulse(sys)
Description impulse calculates the unit impulse response of a linear system. The impulse
response is the response to a Diracinput for continuous-timesystemsand
to a unit pulse at fordiscrete-time systems. Zero initialstate is assumed
in the state-space case. When invoked without left-hand arguments, this
function plots the impulse response on the screen.
impulse(sys) plots the impulse response of an arbitrary LTI model sys.This
modelcanbe continuous ordiscrete,and SISO orMIMO.The impulse response
of multi-input systems is the collection of impulse responses for each input
channel. The duration of simulation is determined automatically to display the
transient behavior of the response.
impulse(sys,t) sets the simulation horizon explicitly. You can specify either
a final time
t = Tfinal (in seconds), or a vector of evenly spaced time samples
of the form
t = 0:dt:Tfinal
For discrete systems, the spacing dt should match the sample period. For
continuous systems,
dt becomes the sample time of the discretized simulation
model (see “Algorithm”), so make sure to choose
dt small enough to capture
transient phenomena.
To plot the impulse responses of several LTI models
sys1,..., sysN on a single
figure, use
impulse(sys1,sys2,...,sysN)
impulse(sys1,sys2,...,sysN,t)
δ
t
()
t 0=