A new algorithm for the inverse eigenproblem of a controllable pair (A
, B) is presented. The proposed method is based on the controllability
canonical form and the algorithm is numerically stable, non-iterative
and produces a semi-robust least-squares solution. The method copes w
ith both complex eigenvalues and real ones. Two illustrative example a
s well as comparative study are given.