Figure 1 shows the non-negative frequencies of the DFT
(zero-padded to 1024 total samples) of 64 samples of a
real-valued stochastic signal.
With no averaging, the power spectrum is very noisy and difficult
to interpret other than noting a significant reduction in spectral energy
above about half the Nyquist frequency.
Various peaks and valleys appear in the lower frequencies,
but it is impossible to say from this figure whether they
represent actual structure in the power spectral density (PSD)
or simply random variation in this single realization.
Figure 2 shows the same frequencies of a length-1024 DFT of a
length-1024 signal. While the frequency resolution has improved,
there is still no averaging, so it remains difficult to
understand the power spectral density of this signal.
Certain small peaks in frequency might represent narrowband
components in the spectrum, or may just be random noise peaks.
In
Figure 3, a power spectral density computed from averaging
the squared magnitudes of length-1024 zero-padded DFTs of 508 length-64
blocks of data (overlapped by a factor of four, or a 16-sample
step between blocks) are shown.
While the frequency resolution corresponds
to that of a length-64 truncation window, the averaging greatly
reduces the variance of the spectral estimate and allows the user to
reliably conclude that the signal consists of lowpass broadband noise
with a flat power spectrum up to half the Nyquist frequency, with
a stronger narrowband frequency component at around 0.65 radians.