Identification of nonlinear systems and modeling of periodic signals