This article summaries spectral analysis.
TODO: (theoretical preparation to Spectral Density Estimation.)
Spectral density estimation is estimating the power spectral density of a random signal from a time-series sample. The intensity of a frequency spectrum is often plot on a logarithmic scale, typically base-10 (decibel), reflecting the dynamic range (ratio of power spectral density) of spectral components.
Figure: A voice waveform over time and its broad power spectrum.Spectral analysis involves a trade-off between resolving comparable strength components with similar frequencies and resolving disparate strength components with dissimilar frequencies. The following explains the cause and trade-off strategy in detail.
Sampling: the reduction of a continuous signal to a discrete signal, typically equal-spaced in time.
Aliasing (effect of sampling on the frequency spectrum): periodic repetition of the entire spectrum.
Figure: continuous Fourier transform, Fourier transform of periodic summation, discrete time Fourier transform (DTFT), and discrete Fourier transform (DFT). Notice that sampling always introduces periodic spectral repetition.Window function: a function of finite support that gets multiplied with a waveform before estimating its spectral density (on a finite time interval).
Spectral leakage (effects of windowing on the frequency spectrum): Windowing causes the true spectrum S(f) to be convoluted with the Fourier transform of the window function F{w}.
Choice of window function for spectral density estimation: