User`s guide

Table Of Contents
Dimensions, Size, and Shape of an LTI Array
4-11
Notice that size returns a vector whose entries correspond to the length of
each of the four dimensions of
m2d: two outputs and one input in a 2-by-3 array
of models. Type
ndims(m2d)
ans =
4
to see that there are indeed four dimensions attributed to this LTI array.
reshape
Usereshape toreorganizet he arrangement(arrayconfiguration)o f themodels
of an existing LTI array.
For example, to arrange the models in an LTI Array
sys as a
array, type
reshape(sys,w1,...,wp)
where w1,...,wp are any set of integers whose product is N, t he number of
models in
sys.
You ca n reshape the LTI array
m2d intoa3-by-2,a6-by-1,ora1-by-6array
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
w
1
×
w
p
×