
4 Arrays of LTI Models
4-20
Indexing Into LTI Arrays
You can index into LTI arrays in much the same way as y ou would for
multidimensional arrays to:
• Access models
• Extract subsystems
• ReassignpartsofanLTIarray
•Delete parts of an LTI array
When you index into an LTI array
sys, the indices should be organized
according to t he following format
where
•
Outputs are indices that select output channels.
•
Inputs are indices that select input channels.
• are indices into the array dimensions that select one model or a
subset of models in the LTI array.
Note on Indexing into LTI Arrays of FRD models: For FRD models, the
array indices can be followed by the keyword
'frequency' and some
expression selecting a subset of the frequency points as in
sys (outputs, inputs, n1,...,nk, 'frequency', SelectedFreqs)
See “Re ferencing FRD Models Through Frequencies” on page 3-7 for details on
frequency point selection in FRD models.
Accessing Particular Models in an LTI Array
To access any given model in an LTI array:
• Use colon arguments (
:,:) for the first two indices to select all I/O channels.
• The remaining indices specify the model coordinates within the array.
sys(Outputs, Inputs, )n
1
… n
K
,,
n
1
…n
K
,,
Komentáře k této Příručce