In Linear system,Fourier Transform(FT),Fourier Series(FST),Fourier Z Transform(FZT)and Discrete Fourier Transform(DFT)are used to analyzing and processing signals。In this paper,a new algorithm based on FT has been proposed by analyzing the relationship among FT,FST,FZT and DFT.The practicality of the algorithm is illustrated。