This study is aimed at modelling human locomotor system in a dynamic environment. Researched phenomenon is modelled real system by using the idealization and programming in Matlab of the desired biomechanical system simulation. The article aims to highlight a mathematical model of the ankle as the problem in the human posture, where walking can be equated with the balance.