The discrete-time Fourier transform represents a sequence indexed by integer sample number using a continuous, periodic frequency variable. In cycles per sample, the transform pair isFor an absolutely summable sequence, the sum converges uniformly to a continuous function, and the inverse formula follows by integrating the exponentials term by term. Their integral over one frequency period is one when the integer exponent is zero and zero otherwise. The primary text gives the same pair in angular frequency , where the inverse integral carries a factor .[ref]
Because , . Discrete time therefore does not imply discrete frequency: the DTFT is defined at every frequency in one period. With sampling frequency , a physical frequency corresponds to ; frequencies separated by integer multiples of give identical sampled complex exponentials. This is the basic frequency ambiguity behind aliasing.
An original two-sample example takes and all other entries zero. ThenAt zero frequency its value is one; at its magnitude is with phase ; at it vanishes. As the impulse response of a two-tap moving average, it preserves a constant input and removes an alternating-sign input. SciPy’s frequency-response definition evaluates precisely such sums when its denominator is one; its frequency units depend on the fs parameter.[ref]
For a finite record extended by zero, the unnormalized discrete Fourier transform gives samples of the same continuous function:Zero padding the record to length instead evaluates on a denser grid. It does not change or restore unobserved time samples. The rectangular window and Hann window demonstrate how the selected finite record shapes that continuous response.
Convergence assumptions matter. For when , zero otherwise, and , the geometric sum givesAt , that ordinary convergent-sum argument fails. Square-summable sequences admit an interpretation, while perpetual tones require a generalized interpretation; neither should be treated as an absolutely convergent version of the same series without stating the interpretation.
A useful check of numerical transform conventions is to evaluate a finite sum at arbitrary frequencies, compare its DFT-grid values with the FFT output, and repeat after zero-padding. This tests the exponent sign, normalization and frequency units independently. In a physical acquisition, one must also state sampling rate, record duration and the response before sampling; dense numerical frequency points alone do not validate those experimental inputs.
Articles by others on the same topic
The Discrete-Time Fourier Transform (DTFT) is a mathematical technique used to analyze discrete-time signals in the frequency domain. It transforms a discrete-time signal, which is a sequence of values defined at distinct time intervals, into a representation in terms of sinusoids or complex exponentials at different frequencies. ### Definition Given a discrete-time signal \( x[n] \), where \( n \) is an integer representing time (e.g.