Creating and Manipulating Models | ![]() ![]() |
Example: Addition of Two LTI Arrays
The following diagram illustrates the addition of two 3-by-1 LTI arrays sys1+sys2.
Figure 4-8: The Addition of Two LTI Arrays
The summation of these LTI arrays
sysa = sys1+sys2
is equivalent to the following model-by-model summation.
for k = 1:3 sysa(:,:,k)=sys1(:,:,k) + sys2(:,:,k) end
sys1
and sys2
must have the same number of inputs and outputs. This is required for the addition of two LTI arrays.sys1
and sys2
must match. ![]() | Operations on LTI Arrays | Dimension Requirements | ![]() |