The relationship between Discrete Fourier Transform DFT and Z transform