Write a MATLAB program that, for a multi-input system with known state and input matrices, determines
(i) a set of feasible eigenvectors and
(ii) a state feedback matrix that assign a given set of eigenvalues. Test your program using Example 9.5.
EXAMPLE 9.5
For the pair
1. Determine a basis set for the space from which each eigenvector can be chosen.
2. Select a set of eigenvectors and determine the state feedback gain matrix that assigns the desired eigen structure. Verify that the closed-loop state matrix has the correct eigenstructure.