FFT Parameters & Spectral Trade-Offs
Choosing the right FFT size, sampling rate, and window function determines whether you resolve close tones or suppress leakage:
| Parameter | Formula / Rule | Practical Impact |
|---|---|---|
| Nyquist Limit | f_max = fs / 2 | Frequencies above fs/2 fold back as false aliases in the spectrum |
| Frequency Resolution | Δf = fs / N_fft | Larger FFT window N_fft separates closely spaced spectral peaks |
| Hann / Blackman Window | Tapered time frame | Suppresses spectral leakage side-lobes at the cost of slightly wider main lobe |
| Rectangular Window | Unweighted frame | Sharpest frequency peak for coherent tones, high leakage otherwise |
Ready-to-Run DSP & FFT Templates
Launch any signal-processing experiment below directly in BlockWerk. No sign-up or local tools needed.
FFT Spectrum Analyzer
Multi-tone signal with noise and harmonics fed into an FFTScope block. Compare time-domain waves with their dB frequency spectrum.
Nyquist Aliasing Demonstration
Sample a high-frequency sine wave below the Nyquist rate and watch the aliased phantom frequency appear in both time and FFT plots.
PWM Harmonic Spectrum
Generate a Pulse-Width Modulated (PWM) waveform and inspect its switching harmonics and low-pass filter attenuation.
Frequently Asked Questions
DigitalFilter or TransferFunction block in your diagram and connect two FFTScope blocks to compare input and filtered spectra live.