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

4 Arrays of LTI Models
4-16
When you concatenate several models or LTI arrays along the jth array
dimension, such as in
stack(j,sys1,sys2,...,sysn)
• The lengths of the I/O dimensions of sys1,...,sysn must all match.
• The lengths of all but the jth array dimension of
sys1,...,sysn must match.
For example, if two TF models
sys1 and sys2 have the same number of inputs
and outputs,
sys = stack(1,sys1,sys2)
concatenates them into a 2-by-1 array of models.
Note:
• stack only co ncatenates along an array dimension, not an I/O d ime n sion.
• To concate n ate LTI mode ls or L TI arrays along an input or output
dimension, use the bracket notation (
[,] [;]). See “Model Interconnection
Functions” on page 3-16 for more informati on on the use of bracket notation
toconcatenatemodels. Seealso “SpecialCases for Operations onLTIArrays”
on page 4-27 for some examples of this type of concatenation of LTI arrays.
Here’s an example of how to build the LTI array
H using the function stack.
% Set up the parameter vectors.
zeta = [0.66,0.75];
w = [1.2,1.5];
% Specify the four individual models with those parameters.
%
H11 = tf(w(1)^2,[1 2*zeta(1)*w(1) w(1)^2]);
H12 = tf(w(2)^2,[1 2*zeta(1)*w(2) w(2)^2]);
H21 = tf(w(1)^2,[1 2*zeta(2)*w(1) w(1)^2]);
H22 = tf(w(2)^2,[1 2*zeta(2)*w(2) w(2)^2]);