ppol — pole placement
[K]=ppol(A,B,poles)
real matrices of dimensions nxn and nxm.
real or complex vector of dimension n.
real matrix (negative feedback gain)
K=ppol(A,B,poles) returns a mxn gain matrix K such that
the eigenvalues of A-B*K are poles.
The pair (A,B) must be controllable. Complex number in poles must appear in conjugate pairs.
An output-injection gain F for (A,C) is obtained as follows:
Ft=ppol(A',C',poles); F=Ft'
The algorithm is by P.H. Petkov.