| Control System Toolbox™ |  |
reshape - Change shape of 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 array sys 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, size
 | reg | | rlocus |  |