MATLAB CONTROL SYSTEM TOOLBOX 9 User's Guide Page 141

  • Download
  • Add to my manuals
  • Print
  • Page
    / 649
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 140
Dimensions, Size, and Shape of an LTI Array
4-9
Five related quantities are pertinent to understanding the array dimensions:
• N, the number of models in the LTI array
• K, the number of array dimensions
• , the list o f lengths of the array dimensions
- is the number of models along the dimension.
• , the configuration of the models in the array
- The configuration determines the shape of the arra y.
- The product of these integers is N.
In the example model
m2d,:
• The length of the output dimension, t he first I/O dimension, is 2, since there
are two output channels in each model.
• Thelengthof theinput dimension,thesecondI/O dimension,is 1,since there
is only one input channel in each model.
• N, the number of models in the LTI array, is 6.
• K, the number of array dimensions, is 2.
• The array dimension lengths are [2 3].
• The array configuration is 2-by-3.
size and ndims
You can access th e dimensions and shape of an LTI array using:
• size to determine the lengths of each of the dimensions associated with an
LTI array
•
ndims to d et ermine the to tal number of dimensions in an LTI array
When applied to an LTI array,
size returns
[Ny Nu S1 S2 ... Sk]
where
•
Ny is the number of outputs common to all models in the LTI array.
•
Nu is the number of inputs common to all models in the LTI array.
•
S1 S2 ... Sk are the lengths of the array dimensions of a k-dimensional
array of models.
Si is the number of models along the ith array dimension.
S
1
S
2
…S
K
S
i
i
th
S
1
by S
––
2
by
…
by S
K
––––
S
1
S
2
×…
S
K
××
Page view 140
1 2 ... 136 137 138 139 140 141 142 143 144 145 146 ... 648 649

Comments to this Manuals

No comments