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

size
11-207
11size
Purpose Provide the output/input/array dimensions of LTI models, the model order of
TF, SS, and ZPK models, and the number of frequencies of FRD models
Syntax size(sys)
d = size(sys)
Ny = size(sys,1)
Nu = size(sys,2)
Sk = size(sys,2+k)
Ns = size(sys,'order')
Nf = size(sys,'frequency')
Description When invoked without output a rguments, size(sys) returns a vector of the
number of outputs and inputs for a single LTI model. The lengths of the array
dimensions are also included in the responset o
size when sys is an LTI array.
size is the overloaded version of the MATLAB function size for LTI objects.
d = size(sys) returns:
• The row vector
d = [Ny Nu] for a single LTI model sys with Ny outputs and
Nu inputs
• The row vector
d = [Ny Nu S1 S2 ... Sp] for an S1-by-S2-by-...-by-Sp array
of LTI models with
Ny outputs and Nu inputs
Ny = size(sys,1) returns the number of outputs of sys.
Nu = size(sys,2) returns the number of inputs of sys.
Sk = size(sys,2+k) returns the length of the k-th array dimension when sys
is an LTI array.
Ns = size(sys,'order') returns the model order of a TF, SS, or ZPK model.
This is the same as t he number of states for state-space models. When
sys is
an LTI array of SS models with differing numb ers of states in each model:
•
Ns is the multidimensional array of the orders of each of the models in the
LTI array.
• The dimensions of
Ns are given by the array dimensions of the LTI array sys.
Nf = size(sys,'frequency') returns the number of frequencies when sys is
an FRD. This is the same as the length of
sys.frequency.