Specifications

Table Of Contents
5 Arrays of LTI Models
5-22
or equivalently,
A = sys(1,[1 2],:,:)
selects the first two input channels,and the first output channel in each model
of the LTI array
A, and returns the resulting 5-by-2 array of one-output,
two-input subsystems.
You can also combine model selection with I/O selection within an LTI array.
For example, to access both:
The state-space model in the
(3,2) array position
Only the portion of that model relating the second input to the first output
type
sys(1,2,3,2)
To access the subsystem from all inputs to the first two output channels of this
same array entry, type
sys(1:2,:,3,2)
Reassigning Parts of an LTI Array
You can reassign entire models or portions of models in an LTI array. For
example,
sys = rss(4,3,2,5,2); % 5X2 array of state-space models
H = rss(4,1,1,5,2); % 5X2 array of SISO models
sys(1,2) = H
reassignsthesubsystemfrominputtwoto outputone, forall models in the LTI
array
sys. This SISO subsystem of each model in the LTI array is replaced
with the LTI array
H of SISO models. This one-line assignment command is
equivalent to the following 10-step nested
for loop.
for k = 1:5
for j = 1:2
sys(1,2,k,j) = H(:,:,k,j);
end
end