User`s guide
Table Of Contents
- Preface
- Quick Start
- LTI Models
- Introduction
- Creating LTI Models
- LTI Properties
- Model Conversion
- Time Delays
- Simulink Block for LTI Systems
- References
- Operations on LTI Models
- Arrays of LTI Models
- Model Analysis Tools
- The LTI Viewer
- Introduction
- Getting Started Using the LTI Viewer: An Example
- The LTI Viewer Menus
- The Right-Click Menus
- The LTI Viewer Tools Menu
- Simulink LTI Viewer
- Control Design Tools
- The Root Locus Design GUI
- Introduction
- A Servomechanism Example
- Controller Design Using the Root Locus Design GUI
- Additional Root Locus Design GUI Features
- References
- Design Case Studies
- Reliable Computations
- Reference
- Category Tables
- acker
- append
- augstate
- balreal
- bode
- c2d
- canon
- care
- chgunits
- connect
- covar
- ctrb
- ctrbf
- d2c
- d2d
- damp
- dare
- dcgain
- delay2z
- dlqr
- dlyap
- drmodel, drss
- dsort
- dss
- dssdata
- esort
- estim
- evalfr
- feedback
- filt
- frd
- frdata
- freqresp
- gensig
- get
- gram
- hasdelay
- impulse
- initial
- inv
- isct, isdt
- isempty
- isproper
- issiso
- kalman
- kalmd
- lft
- lqgreg
- lqr
- lqrd
- lqry
- lsim
- ltiview
- lyap
- margin
- minreal
- modred
- ndims
- ngrid
- nichols
- norm
- nyquist
- obsv
- obsvf
- ord2
- pade
- parallel
- place
- pole
- pzmap
- reg
- reshape
- rlocfind
- rlocus
- rltool
- rmodel, rss
- series
- set
- sgrid
- sigma
- size
- sminreal
- ss
- ss2ss
- ssbal
- ssdata
- stack
- step
- tf
- tfdata
- totaldelay
- zero
- zgrid
- zpk
- zpkdata
- Index

impulse
11-94
11impulse
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 calcula tes the unit impulse response of a linear system. The i mpulse
response is the response to a Dirac input for continuous-time systems and
to a unit pulse at for discrete-time systems. Zero initial state is assumed
in the state-space case. W hen invoked without left-hand arguments, this
function plots the impulse response on the screen.
impulse(sys) plots the impulse response o f an arbitrary LTI model sys.This
modelcan becontinuous ordiscrete,and SISO or MIMO.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 system s, the spacin g dt should match the sample period. For
continuous systems,
dt beco mes the samp le t ime of the discret ized simulation
model (see “Algorithm”), so make sure to choose
dt small enough to capture
transient phenomena.
To plot the impulse responses of s everal LTI models
sys1,..., sysN on a si n gle
figure, use
impulse(sys1,sys2,...,sysN)
impulse(sys1,sys2,...,sysN,t)
δ
t
()
t 0
=