User`s guide

Table Of Contents
reshape
11-179
11reshape
Purpose Change the shape of an LTI array
Syntax sys = reshape(sys,s1,s2,...,sk)
sys = reshape(sys,[s1 s2 ... sk])
Description sys = reshape(sys,s1,s2,...,sk) (or,equivalently,sys = reshape(sys,[s1
s2 ... sk])
) reshapes the LTI arraysys into an s1-by-s2-by...-sk array of LTI
models. Equivalently,
sys = reshape(sys,[s1 s2 ... sk]) reshapes the LTI
array
sys into an s1-by-s2-by...-sk array of LTI models. With either syntax,
there must be
s1*s2*...*sk models in sys to begin with.
Example sys = rss(4,1,1,2,3);
size(sys)
2x3 array of state-space models
Each model has 1 output, 1 input, and 4 states.
sys1 = reshape(sys,6);
size(sys1)
6x1 array of state-space models
Each model has 1 output, 1 input, and 4 states.
See Also ndims Provide the number of dimensions of an LTI array
size Provide the lengths of each dimensio n of an LTI array