The objective of this paper is to present an example in which matrix functions are used to solve a modern control exercise. Specifically, the solution for the equation of state, which is a matrix differential equation is calculated. To resolve this, two different methods are presented, first using the properties of the matrix functions and by other side, using the classical method of Laplace transform.