Introduction - If you have any usage issues, please Google them yourself
State space control, with direct and Elman formula method to calculate state feedback, and simulink simulation. You can set your own four-dimensional state space matrix, and target pole.