control.place

control.place(A, B, p)

Place closed loop eigenvalues

Parameters:

A : 2-d array

Dynamics matrix

B : 2-d array

Input matrix

p : 1-d list

Desired eigenvalue locations

Returns:

K : 2-d array

Gains such that A - B K has given eigenvalues

Examples

>>> A = [[-1, -1], [0, 1]]
>>> B = [[0], [1]]
>>> K = place(A, B, [-2, -5])