This example shows how to select the response from the first input to the second output of a MIMO model.
Create a two-input, one-output transfer function.
N = {[1 -1],[1];[1 2],[3 1 4]}; D = [1 1 10]; H = tf(N,D)
Note
For more information about using cell arrays to create MIMO
transfer functions, see the tf
reference
page.
Select the response from the second input to the output
of H
.
To do this, use MATLAB® array indexing.
H12 = H(1,2)
For any MIMO system H
, the index notation H(i,j)
selects
the response from the jth input to the ith
output.