Consider the i/s/o system:
$ \left\{ \begin{array}{lll} \frac{d}{dt}x = Ax + Bu \\ y = Cx \\ u = Ky \end{array} \right.$
If $A = \begin{pmatrix} 0 & -1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & -1 \end{pmatrix} $ and $B = (0 \quad 0 \quad 0)^{\intercal}$, which means there is no feedback in this, case, we know that the system is unstable because the characteristic polynomial of $A$ is $p_{A} (t) = (t-1)(t+i)(t-i)$, which means there is an eigenvalue $t^{*} = 1 > 0$. I want to choose the vectors $B$ and $C$ in such a way that there is a $K$ such that the system becomes stable. I've tried many $B$ and $C$ before, but so far I haven't been able to find them in such a way that I can choose a $K$ that makes the system stable again.
For example, consider the example in which $B = (1 \quad 0 \quad 0)^{\intercal}$ and $C = (1 \quad 0 \quad 0)$. Then we have $y = Cx = (1 \quad 0 \quad 0)x$, so $u = Ky = (K \quad 0 \quad 0)$. This means we get $\frac{d}{dt} x = Ax + Bu = \begin{pmatrix} K & -1 & 0 \\ 1 & 0 & 0 \\ 0 & 0 & 1 \end{pmatrix} x = Qx $
If we compute the characteristic polynomial, we find $P_{Q} (t) = t^{3} + (-1-K)t^{2} + (1+K)t - 1 = (t-1)(t- \frac{1}{2}(K - \sqrt{k^{2} - 4}))(t - \frac{1}{2}(K + \sqrt{k^{2} - 4})) $. This still has the eigenvalue $t^{*} = 1 > 0$. The system remains unstable, for whatever value of $K$ I choose.
I would like to see an example of vectors $C$ and $B$ such that I can make the system stable again, given the matrix $A$ above. I don't care what the value of $K$ is, as long as there is some $K$ which makes the system that was once unstable, now stable again.
Can you give me an example of this?
Choose for example $B = \begin{bmatrix}1 & 1 & 1\end{bmatrix}^T$ and $C = \begin{bmatrix}1 & 0 & 0\end{bmatrix}$. Taking now $u = -Kx$ with $K = \begin{bmatrix}1 & 1 & 0\end{bmatrix}$ places all three eigenvalues at $-1$.
Btw. the eigenvalues of your (uncontrolled) $A$ matrix are actually $\color{red}{-1}$, $i$ and $-i$.