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

Indexing Into LTI Arrays
4-23
Similarly, the commands
sys(:,:,3,2) = sys(:,:,4,1);
sys(1,2,3,2) = 0;
reassign the entire model in the (3,2) position ofthe LTI array sys and the (1,2)
subsystem of this model, respectively.
LTI Arrays of SS Models with Differing Numbers of States
You must use an entire LTI model for reassignment if you have an LTI array
sys of state-space models for which:
• The numbers of states in each model in sys is not constant.
• You want to change the dimensions of the
a, b,andcmatrices in one model
asyoureassignits
a,b,andcproperties.
For example, if
sys = ss(stack(1,tf(1,[1 2 1]),tf(1,[1 1])));
then the model sys(:,:,1) is of order 2, while sys(:,:,2) is of order 1. To
reassign the
a, b,andcproperties of sys(:,:,1) so that the state dimension of
the new model is not 2, you must make the entire model a ssignment at once.
You can do this as follows.
sys(:,:,1) = sys2
where sys2 represents an LTI model for which size(sys2,'order') is not 2.
Deleting Parts of an LTI Array
You can use indexing to delete any part of an LTI array by reassigning it to be
empty (
[]). For instance,
sys = rss(4,3,2,5,2);
sys(1,:) = [];
size(sys)
5x2 array of continuous-time state-space models
Each model has 2 outputs, 2 inputs, and 4 states.
deletes the first output channel from every model of this LTI a rray.