This paper presents an algorithm for identification of the longitudinal and lateral movements of an aircraft. For identification a prediction state observer (Luenberger observer) has been projected. To perform the identification, the authors use the Matlab program from Appendix and an algorithm for the feedback gain matrix obtaining (ALGLX algorithm). With the obtained state observer a stabilization compensator has been made. The characteristics that express time variations of the state variables and indicial responses prove that the identification of the longitudinal and lateral movement of an aircraft has been made with small errors In good conditions. The presented Matlab program may be used with good results for identification and control of any system.