Chirp signal spectrum — frequency sweep, FFT, and PSD (Matlab & Python)

Generate a linear chirp, view the spectrogram/FFT, and estimate PSD in Matlab or Python — how the instantaneous frequency sweep fills the spectrum.

Generating Basic signals – Rectangular Pulse and Power Spectral Density using FFT

Numerous texts are available to explain the basics of Discrete Fourier Transform and its very efficient implementation – Fast Fourier Transform (FFT).  Often we are confronted with the need to generate simple, standard signals (sine, cosine, Gaussian pulse, square wave, isolated rectangular pulse, exponential decay, chirp signal) for simulation purpose. I intend to show (in a series of articles) … Read more

White noise in Matlab — generate AWGN, plot PSD, check variance

Simulate white / Gaussian noise in Matlab: generate with randn, verify variance and flat PSD, then reuse the noise model in BER simulations.