Suppose I have a MIMO system in state space representation, for example:
$A=\begin{bmatrix} 1 &2 &3 \\ 4&5 &6 \\ 7&8 &9 \end{bmatrix}$
$B=\begin{bmatrix} 2 &3 \\ 5& 7\\ 9 & 1 \end{bmatrix}$
$C=\begin{bmatrix} 6 &7 &11 \end{bmatrix}$
$D=0$
I have used random number to fill these matrices. I am using Matlab. Now, suppose I want to find the transfer function from the input $u$ to the to an output $x_2$ for example, how is it possible to do this?
I know that I can from this matrix create the state space representation. So, suppose I want the state space representation of a plant, I would do this:
G = ss(A,B,C,D)
and if I want to get the transfer function from it I could do :
G = ss2tf(A,B,C,D)
and so from here I could plot the frequency response:
bode(G)
but now, suppose I want to obtain the transfer function from the disturbance to the output, or the transfer function from the input $u$ to the output, how can I do this ?
[EDIT] For example, how do I obtain the sensitivity function from a state space representation of a MIMO system? Or the control sensitivity function?