The paper is devoted to investigation of the class of linear and quasi-linear systems of ordinary differential equations, the matrix of which can be characterized as polynomially periodic. The main aim of this article is to generate a new algorithm of their splitting in order to create equivalent sets with almost diagonal matrix that are simpler to analyze. Another objective is formulating and proving of sufifcient stability conditions or asymptotic stability of their trivial decision.