| Creating and Manipulating Models | ![]() |
Using reshape to Rearrange an LTI Array
Use reshape to reorganize the arrangement (array configuration) of the models of an existing LTI array.
For example, to arrange the models in an LTI Array sys as a
array, type
where w1,...,wp are any set of integers whose product is N, the number of models in sys.
You can reshape the LTI array m2d into a 3-by-2, a 6-by-1, or a 1-by-6 array using reshape. For example, type
load LTIexamples sys = reshape(m2d,6,1); size(sys) 6x1 array of continuous-time transfer functions Each transfer function has 2 outputs and 1 inputs. s = size(sys) s = 2 1 6 1
| Accessing the Dimensions of an LTI Array Using size and ndims | Building LTI Arrays | ![]() |
© 1994-2005 The MathWorks, Inc.