Computer algorithm for optimal control of linear systems with assigned eigenvalues

An efficient computer algorithm for designing optimal controllers of linear systems to have assigned closed-loop eigenvalues based on the eigenvector solution of the matrix Riccati equation is presented. The algorithm is illustrated with an example.