A new approach in estimating the dynamics matrix of a system