Specifications
Table Of Contents
- Introduction
- LTI Models
- Operations on LTI Models
- Model Analysis Tools
- Arrays of LTI Models
- Customization
- Setting Toolbox Preferences
- Setting Tool Preferences
- Customizing Response Plot Properties
- Design Case Studies
- Reliable Computations
- GUI Reference
- SISO Design Tool Reference
- Menu Bar
- File
- Import
- Export
- Toolbox Preferences
- Print to Figure
- Close
- Edit
- Undo and Redo
- Root Locus and Bode Diagrams
- SISO Tool Preferences
- View
- Root Locus and Bode Diagrams
- System Data
- Closed Loop Poles
- Design History
- Tools
- Loop Responses
- Continuous/Discrete Conversions
- Draw a Simulink Diagram
- Compensator
- Format
- Edit
- Store
- Retrieve
- Clear
- Window
- Help
- Tool Bar
- Current Compensator
- Feedback Structure
- Root Locus Right-Click Menus
- Bode Diagram Right-Click Menus
- Status Panel
- Menu Bar
- LTI Viewer Reference
- Right-Click Menus for Response Plots
- Function Reference
- Functions by Category
- acker
- allmargin
- append
- augstate
- balreal
- bode
- bodemag
- c2d
- canon
- care
- chgunits
- connect
- covar
- ctrb
- ctrbf
- d2c
- d2d
- damp
- dare
- dcgain
- delay2z
- dlqr
- dlyap
- drss
- dsort
- dss
- dssdata
- esort
- estim
- evalfr
- feedback
- filt
- frd
- frdata
- freqresp
- gensig
- get
- gram
- hasdelay
- impulse
- initial
- interp
- inv
- isct, isdt
- isempty
- isproper
- issiso
- kalman
- kalmd
- lft
- lqgreg
- lqr
- lqrd
- lqry
- lsim
- ltimodels
- ltiprops
- ltiview
- lyap
- margin
- minreal
- modred
- ndims
- ngrid
- nichols
- norm
- nyquist
- obsv
- obsvf
- ord2
- pade
- parallel
- place
- pole
- pzmap
- reg
- reshape
- rlocus
- rss
- series
- set
- sgrid
- sigma
- sisotool
- size
- sminreal
- ss
- ss2ss
- ssbal
- ssdata
- stack
- step
- tf
- tfdata
- totaldelay
- zero
- zgrid
- zpk
- zpkdata
- Index

zpk
16-233
• z = zpk('z',Ts) to specify a ZPK model with sample time Ts froma rational
transfer function of the discrete-time variable,
z.
Once you specify either of these variables, you can specify ZPK models directly
as real-valued rational expressions in the variable
s or z.
To create a MIMO zero-pole-gain model, specify the zeros, poles, and gain of
each SISO entry of this model. In this case:
•
z and p arecellarraysofvectorswithasmanyrowsasoutputsandasmany
columns as inputs, and
k is a matrix with as many rows as outputs and as
many columns as inputs.
• The vectors
z{i,j} and p{i,j} specify the zeros and poles of the transfer
function from input
j to output i.
• k(i,j) specifies the (scalar) gain of the transfer function from input j to
output
i.
See below for a MIMO example.
sys = zpk(z,p,k,Ts) creates a discrete-time zero-pole-gain model with
sample time
Ts (in seconds). Set Ts = -1 or Ts = [] to leave the sample time
unspecified. The input arguments
z, p, k are as in the continuous-time case.
sys = zpk(M) specifies a static gain M.
sys = zpk(z,p,k,ltisys) creates a zero-pole-gain model with generic LTI
properties inherited from the LTI model
ltisys (including the sample time).
See “Generic Properties” on page 2-26 for an overview of generic LTI
properties.
To create an array of ZPK models, use a
for loop, or use multidimensional cell
arrays for
z and p, and a multidimensional array for k.
Any of the previous syntaxes can be followed by property name/property value
pairs.
'PropertyName',PropertyValue
Each pair specifies a particular LTI property of the model, for example, the
input names or the input delay time. See
set entry and the example below for
details. Note that