Specifications

Table Of Contents
Indexing Into LTI Arrays
5-23
Notice that you don’t have to use the array dimensions with this assignment.
This is because I/O selection applies to all models in the array when the array
indices are omitted.
Similarly, the commands
sys(:,:,3,2) = sys(:,:,4,1);
sys(1,2,3,2) = 0;
reassign theentire model in the (3,2) position ofthe LTI array sys and the (1,2)
subsystem of this model, respectively.
Deleting Parts of an LTI Array
You can use indexing to delete any part of an LTI array by reassigning it to be
empty (
[]). For instance,
sys = rss(4,3,2,5,2);
sys(1,:) = [];
size(sys)
5x2 array of continuous-time state-space models
Each model has 2 outputs, 2 inputs, and 4 states.
deletes the first output channel from every model of this LTI array.
Similarly,
sys(:,:,[3 4],:) = []
deletes the third and fourth rows of this two-dimensional array of models.