Control System Toolbox Function Reference    
stack

Build an LTI array by stacking LTI models or LTI arrays along array dimensions of an LTI array

Syntax

Description

sys = stack(arraydim,sys1,sys2,...) produces an array of LTI models sys by stacking (concatenating) the LTI models (or LTI arrays) sys1,sys2,... along the array dimension arraydim. All models must have the same number of inputs and outputs (the same I/O dimensions). The I/O dimensions are not counted in the array dimensions. See "Dimensions, Size, and Shape of an LTI Array" on page 4-7, and "Building LTI Arrays Using the stack Function" on page 4-15 for more information.

Example

If sys1 and sys2 are two LTI models with the same I/O dimensions:


 ssdata step